feat: 商品管理,商品规格,添加规格时,不能删除规格值

This commit is contained in:
duan 2025-04-12 09:55:17 +08:00
parent 53fdd79a2e
commit 784941f558
1 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,8 @@ function subitgoods() {
}) })
} }
function handleClose(index: any, i: any) { function handleClose(index: any, i: any) {
datas.contentForm.children[index].value.splice(i, 1); console.log(datas.contentForm.children[index].children, 22222222)
datas.contentForm.children[index].children.splice(i, 1);
} }
function showInput(index: any) { function showInput(index: any) {
datas.contentForm.children[index].inputVisible = true; datas.contentForm.children[index].inputVisible = true;