From 2d85706baf6240e1746586cd0674d730b6668e6a Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 10 Oct 2023 10:31:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E5=95=86?= =?UTF-8?q?=E5=93=81=E6=95=B0=E6=8D=AE=E5=9B=9E=E6=98=BE=E6=9C=89=E8=AF=AF?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/product/addGoods/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/product/addGoods/index.vue b/pages/product/addGoods/index.vue index 040a66e..ac5e6e4 100644 --- a/pages/product/addGoods/index.vue +++ b/pages/product/addGoods/index.vue @@ -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 => {