system 下面的 database 删除之后没有触发刷新接口

This commit is contained in:
任珮宇 2023-11-23 10:29:16 +08:00
parent 29bf022af9
commit 61a495efd0

View File

@ -256,6 +256,7 @@ export default {
},
onDel() {
let that = this
if (this.selectedRowKeys && this.selectedRowKeys.length) {
this.$confirm({
title: 'Do You Want To Delete This Item?',
@ -269,6 +270,7 @@ export default {
})
if (success) {
this.$message.success('Delete Success!')
that.loadData()
} else {
this.$message.error(message)
}