Fix:5824 【商城小程序】【商户入驻】进入任意接口入驻页面时,先闪现未填写资料界面,过几秒才会显示已填写的资料页面
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user