修复编辑商品数据回显有误的bug
This commit is contained in:
parent
7322947eca
commit
2d85706baf
@ -586,7 +586,7 @@
|
||||
}
|
||||
productDetail(this.merId, this.product_id).then(res => {
|
||||
setStorage('editGoodsDetils', res.data);
|
||||
if(res.data.content_arr) res.data.content = res.data.content_arr;
|
||||
if(res.data.content_arr.length>0) res.data.content = res.data.content_arr;
|
||||
this.$store.commit('setStorage', res.data);
|
||||
let editGoodsDetils = res.data;
|
||||
Object.keys(this.setFormData).forEach(item => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user