|
@@ -202,12 +202,9 @@ const contextMenuClick = ({ key, item }) => {
|
|
|
addEditNodeFormModel.value = { ...item }
|
|
|
addEditNodeFormModal.value = true
|
|
|
} else if (key === 'del') {
|
|
|
- HcDelMsg({}, async (instance, resolve) => {
|
|
|
- instance.confirmButtonLoading = true
|
|
|
- instance.confirmButtonText = '删除中...'
|
|
|
+ HcDelMsg( async ( resolve) => {
|
|
|
await delClassification(item)
|
|
|
resolve() //关闭弹窗的回调
|
|
|
- instance.confirmButtonLoading = false
|
|
|
})
|
|
|
}
|
|
|
}
|