system 下面的 database 删除之后没有触发刷新接口
This commit is contained in:
parent
29bf022af9
commit
61a495efd0
|
@ -256,6 +256,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
onDel() {
|
onDel() {
|
||||||
|
let that = this
|
||||||
if (this.selectedRowKeys && this.selectedRowKeys.length) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length) {
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
title: 'Do You Want To Delete This Item?',
|
title: 'Do You Want To Delete This Item?',
|
||||||
|
@ -269,6 +270,7 @@ export default {
|
||||||
})
|
})
|
||||||
if (success) {
|
if (success) {
|
||||||
this.$message.success('Delete Success!')
|
this.$message.success('Delete Success!')
|
||||||
|
that.loadData()
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(message)
|
this.$message.error(message)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user