车辆管理,司机管理下拉刷新bug修复

This commit is contained in:
2023-09-12 14:58:46 +08:00
parent 33056869ea
commit 38a1a7cb13
3 changed files with 8 additions and 4 deletions

View File

@ -100,7 +100,7 @@ export default {
}, },
onRefresh() { onRefresh() {
this.pageNum=1; this.pageNum=1;
this.getDriverList() // this.getDriverList()
setTimeout(() => { setTimeout(() => {
this.$toast('刷新成功'); this.$toast('刷新成功');
this.isLoading = false; this.isLoading = false;

View File

@ -80,7 +80,7 @@ export default {
}, 1000); }, 1000);
}, },
async getNotifyList(){ async getNotifyList(){
let res = await notifyInvoiceList({ let res = await notifyInvoiceList({
pageNum:this.pageNum, pageNum:this.pageNum,
pageSize:this.pageSize pageSize:this.pageSize
}) })
@ -140,7 +140,11 @@ export default {
} }
} }
.bgShow{ .bgShow{
@include wh(100%,80%);
@include flexTwoCenter; @include flexTwoCenter;
height:calc(100% - 46px);
background-color: #FAFAFA;
img{
width: 100%;
}
} }
</style> </style>

View File

@ -86,7 +86,7 @@ export default {
}, },
onRefresh() { onRefresh() {
this.pageNum=1 this.pageNum=1
this.getVehicleList() // this.getVehicleList()
setTimeout(() => { setTimeout(() => {
this.$toast('刷新成功'); this.$toast('刷新成功');
this.isLoading = false; this.isLoading = false;