Fix:5824 【商城小程序】【商户入驻】进入任意接口入驻页面时,先闪现未填写资料界面,过几秒才会显示已填写的资料页面

This commit is contained in:
linxi
2026-08-20 15:59:59 +08:00
parent 1adef8d00b
commit 2062046901
5 changed files with 72 additions and 44 deletions
+5
View File
@@ -707,6 +707,7 @@ export default {
}
},
init() {
uni.showLoading({ title: '加载中...', mask: true })
getCity().then(({data}) => {
this.district = data
})
@@ -726,6 +727,8 @@ export default {
}).catch(() => {
this.initInfo()
})
}).catch(() => {
uni.hideLoading()
})
},
@@ -801,6 +804,8 @@ export default {
this.form.position = this.$forceToDecimal(this.form.longitude, 6) + ',' + this.$forceToDecimal(this.form.latitude, 6)
this.form.area = `${this.form.provinceName} ${this.form.cityName} ${this.form.areaName}`
}
}).finally(() => {
uni.hideLoading()
})
},
chooseLogoImg(target) {