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
@@ -889,6 +889,7 @@ export default {
}
},
init() {
uni.showLoading({ title: '加载中...', mask: true })
getCity().then(({data}) => {
this.district = data
})
@@ -897,6 +898,8 @@ export default {
this.columnsSupplierType = data.supplierTypeList
this.notice = formatRichText(data.merchantApplyNotice)
this.initInfo()
}).catch(() => {
uni.hideLoading()
})
},
initInfo() {
@@ -978,6 +981,8 @@ export default {
this.formSupplier.position = this.$forceToDecimal(this.formSupplier.longitude, 6) + ',' + this.$forceToDecimal(this.formSupplier.latitude, 6)
this.formSupplier.area = `${this.formSupplier.provinceName || ''} ${this.formSupplier.cityName || ''} ${this.formSupplier.areaName || ''}`
}
}).finally(() => {
uni.hideLoading()
})
},
chooseLogoImg(target) {