feat: 分组追加商品修复
This commit is contained in:
@@ -270,7 +270,14 @@ async function addConfirm() {
|
||||
}
|
||||
// 添加商品的回调
|
||||
function subitgood() {
|
||||
selectData.value = contentRefs.value.getselectTable()
|
||||
|
||||
if (title.value == "编辑分组") {
|
||||
let arr = selectData.value
|
||||
arr.push(...contentRefs.value.getselectTable())
|
||||
selectData.value = arr
|
||||
} else {
|
||||
selectData.value = contentRefs.value.getselectTable()
|
||||
}
|
||||
switchref.value = false
|
||||
myDialogRef.value.close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user