overview中删除数据需要刷新列表(确保该模块其他页面也在删除的时候刷新了)
This commit is contained in:
parent
9038fc5116
commit
ae1113c3df
|
@ -422,7 +422,7 @@ export default {
|
|||
deleteAction('/sysDatabase/deleteById', { id: _this.currentId }).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success('success')
|
||||
this.currentId = ''
|
||||
_this.currentId = ''
|
||||
_this.getSysDatabase()
|
||||
} else {
|
||||
_this.$message.warning('This operation fails. Contact your system administrator')
|
||||
|
|
|
@ -364,7 +364,7 @@ export default {
|
|||
deleteAction('/sysEmail/deleteById', { id: _this.currentId }).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success('success')
|
||||
this.currentId = ''
|
||||
_this.currentId = ''
|
||||
_this.getSysEmail()
|
||||
} else {
|
||||
_this.$message.warning('This operation fails. Contact your system administrator')
|
||||
|
|
Loading…
Reference in New Issue
Block a user