This commit is contained in:
aoli.qu 2022-02-26 17:55:58 +08:00
parent d8584dd484
commit 0996737f2d
1 changed files with 3 additions and 1 deletions

View File

@ -97,9 +97,11 @@
}
})
} else {
roleAdd(this.form).then(data => {
roleAdd(this.form).then(res => {
if (res.code == 200) {
this.$message.success('新增成功')
this.$emit('ok')
this.onCancel()
} else {
this.$message.error('新增失败:' + res.msg)