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; } }) },