Commit 3918983e authored by 刘用法's avatar 刘用法

首页入驻成功的才会获取定位信息

parent 2e5e7f38
......@@ -172,10 +172,7 @@
// 每次进入页面都刷新入驻状态
this.pageNumber = 0
this.initSettleInfo();
if (this.status == 7) {
this.getLocation()
}
this.initSettleInfo();
},
methods: {
getData() {
......@@ -211,7 +208,10 @@
self.search.pageNumber = 0
self.loadedOrder = false
self.loadOrderList();
await app.getBaseInfo(self, callBack);
await app.getBaseInfo(self, callBack);
if (this.status == 7) {
this.getLocation()
}
this.loaded = true;
} else {
this.loaded = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment