修复bug
This commit is contained in:
parent
b7bd015b22
commit
2e7f28d0ce
@ -39,6 +39,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
// z-index: 9999999;
|
// z-index: 9999999;
|
||||||
|
z-index: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -94,19 +94,23 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async loadAreaManager(){
|
async loadAreaManager(){
|
||||||
if(this.loadConfig.status=="nomore")return;
|
try{
|
||||||
this.loadConfig.status="loading"
|
if(this.loadConfig.status=="nomore")return;
|
||||||
let res = await companyAreaManager({
|
this.loadConfig.status="loading"
|
||||||
page: this.loadConfig.page,
|
let res = await companyAreaManager({
|
||||||
limit: this.loadConfig.limit
|
page: this.loadConfig.page,
|
||||||
})
|
limit: this.loadConfig.limit
|
||||||
this.loadConfig.status="loadmore"
|
})
|
||||||
if(res.data.data.length<this.loadConfig.limit){
|
this.loadConfig.status="loadmore"
|
||||||
|
if(res.data.data.length<this.loadConfig.limit){
|
||||||
|
this.loadConfig.status="nomore"
|
||||||
|
}else {
|
||||||
|
this.loadConfig.page++;
|
||||||
|
}
|
||||||
|
this.areaManagerList = [...this.areaManagerList, ...res.data?.data]
|
||||||
|
}catch(e){
|
||||||
this.loadConfig.status="nomore"
|
this.loadConfig.status="nomore"
|
||||||
}else {
|
|
||||||
this.loadConfig.page++;
|
|
||||||
}
|
}
|
||||||
this.areaManagerList = [...this.areaManagerList, ...res.data?.data]
|
|
||||||
},
|
},
|
||||||
//拨打电话
|
//拨打电话
|
||||||
callUp(phone) {
|
callUp(phone) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user