From 5c7796ca6f2dff771357c25161497a8e4b1cf587 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 31 Aug 2023 15:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=EF=BC=9A?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E5=B1=9E=E6=80=A7=E6=97=B6?= =?UTF-8?q?=E4=BC=9A=E8=BF=94=E5=9B=9E=E5=B7=B2=E5=AD=98=E5=9C=A8=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E5=80=BC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mall/product/spu/form/ProductPropertyAddForm.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/mall/product/spu/form/ProductPropertyAddForm.vue b/src/views/mall/product/spu/form/ProductPropertyAddForm.vue index 243cd7a0..a3e09fef 100644 --- a/src/views/mall/product/spu/form/ProductPropertyAddForm.vue +++ b/src/views/mall/product/spu/form/ProductPropertyAddForm.vue @@ -80,6 +80,8 @@ const submitForm = async () => { if (res[0].values === null) { res[0].values = [] } + // 不需要属性值 + res[0].values = [] attributeList.value.push(res[0]) // 因为只用一个 } message.success(t('common.createSuccess'))