From 1673de694e2d1752a9012115fa5b801d508f7ed2 Mon Sep 17 00:00:00 2001 From: DongZeLiang <2746733890@qq.com> Date: Fri, 8 Mar 2024 14:12:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=85=B1=E6=9C=89=E5=85=83?= =?UTF-8?q?=E7=B4=A0=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/info/index.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/views/product/info/index.vue b/src/views/product/info/index.vue index e9aabb8..b1da988 100644 --- a/src/views/product/info/index.vue +++ b/src/views/product/info/index.vue @@ -449,7 +449,22 @@ export default { code = this.customAttributeForm.code, name = this.customAttributeForm.name, value = this.customAttributeForm.value; - + // categoryCommonElement / attributeIdCheckedList / attributeCheckedList + this.categoryCommonElement.attributeList.push({ + "id": attributeId, + "name": name, + "code": code + }); + this.attributeIdCheckedList.push(attributeId); + this.attributeCheckedList.push( + { + "id": attributeId, + "name": name, + "value": value + } + ); + this.customAttributeForm = {} + this.customAttributeFormStatus = false; } }) },