商品列表:修复添加属性时会返回已存在属性值的问题

This commit is contained in:
puhui999 2023-08-31 15:58:34 +08:00
parent f5a1772464
commit 5c7796ca6f

View File

@ -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'))