feat: 商品管理,商品规格,添加规格时,不能删除规格值
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user