代码优化

This commit is contained in:
Elune
2019-12-17 12:27:42 +08:00
parent 2a763ea2e0
commit 47d83846ef
13 changed files with 506 additions and 678 deletions

View File

@@ -77,6 +77,7 @@ export default {
}
},
created() {
this.crud.msg.del = '强退成功!'
this.crud.optShow = {
add: false,
edit: false,
@@ -96,8 +97,8 @@ export default {
del(key).then(() => {
this.delLoading = false
this.$refs[index].doClose()
this.dleChangePage()
this.notify('踢出成功', 'success')
this.crud.dleChangePage(1)
this.crud.delSuccessNotify()
this.crud.toQuery()
}).catch(() => {
this.delLoading = false