Fix:3322 【商城小程序】特产/文玩供应商入驻驳回后,商家资质数据在前端小程序消失
This commit is contained in:
@@ -732,6 +732,8 @@ export default {
|
|||||||
const local = uni.getStorageSync(type) || {}
|
const local = uni.getStorageSync(type) || {}
|
||||||
const local_form = uni.getStorageSync(type + '_form') || {}
|
const local_form = uni.getStorageSync(type + '_form') || {}
|
||||||
this.quaPics = uni.getStorageSync(type + '_quaPics') || []
|
this.quaPics = uni.getStorageSync(type + '_quaPics') || []
|
||||||
|
console.log(this.quaPics, 'this.quaPics');
|
||||||
|
|
||||||
if(!local_form.serviceTime) {
|
if(!local_form.serviceTime) {
|
||||||
local_form.serviceTime = '00:00'
|
local_form.serviceTime = '00:00'
|
||||||
}
|
}
|
||||||
@@ -894,9 +896,11 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 商家资质
|
// 商家资质
|
||||||
this.quaPics = []
|
|
||||||
const quaPicsTemp = this.form.qualification && this.form.qualification.split(',') || []
|
const quaPicsTemp = this.form.qualification && this.form.qualification.split(',') || []
|
||||||
if (quaPicsTemp.length > 0) {
|
if (quaPicsTemp.length > 0) {
|
||||||
|
console.log(quaPicsTemp, 'quaPicsTemp--------');
|
||||||
|
|
||||||
|
this.quaPics = []
|
||||||
quaPicsTemp.map(item => {
|
quaPicsTemp.map(item => {
|
||||||
if (item) {
|
if (item) {
|
||||||
this.quaPics.push({url: item})
|
this.quaPics.push({url: item})
|
||||||
|
|||||||
Reference in New Issue
Block a user