增加删除用户功能 修正一些细节bug

This commit is contained in:
pixel
2020-04-16 20:16:19 +08:00
parent 5698c207a1
commit 569abbeb53
9 changed files with 248 additions and 169 deletions

View File

@@ -225,14 +225,9 @@ export default {
if (res.code == 0) {
this.$message({
type: 'success',
message: '添加成功!'
message: this.isEdit?'编辑成功':'添加成功!'
})
this.getTableData()
} else {
this.$message({
type: 'error',
message: '添加失败!'
})
}
this.initForm()
this.dialogFormVisible = false