From 40491b605ac32e1980cf4bd79effd642af976b4c Mon Sep 17 00:00:00 2001 From: hupeng Date: Sat, 12 Sep 2020 23:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=A1=A8=E5=8D=95=E5=8D=95?= =?UTF-8?q?=E8=A7=84=E6=A0=BC=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/shop/goods/form.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/shop/goods/form.vue b/src/views/shop/goods/form.vue index a4c794c..c6a16d0 100644 --- a/src/views/shop/goods/form.vue +++ b/src/views/shop/goods/form.vue @@ -499,9 +499,11 @@ export default { } }, watch: { - 'form.imageArr': function(val) { + 'formValidate.image': function(val) { + console.log('aaaa:'+val) if (val) { - this.form.image = val.join(',') + this.oneFormValidate[0].pic = val + console.log('bbbbbb:'+this.oneFormValidate.pic) } }, 'form.sliderImageArr': function(val) {