CN-1312 fix: 在管理页删除当前登录的用户,确认删除后没有错误信息提示

This commit is contained in:
刘洪洪
2023-09-18 16:31:11 +08:00
parent e6c8c46bf3
commit 2f7ef79791

View File

@@ -183,6 +183,9 @@ export default {
} else {
this.$message.error(response.data.message)
}
}).catch(e => {
// 表格内无删除,只是顶部工具栏有
this.$message.error(e.response.data.message)
})
}).catch(e => {})
},
@@ -213,6 +216,8 @@ export default {
} else {
this.$message.error(response.data.message)
}
}).catch(e => {
this.$message.error(e.response.data.message)
}).finally(() => {
this.toggleLoading(false)
})