deleteRole提示

master
chengqf 2 years ago
parent 9102b70362
commit ca1961690d

@ -579,9 +579,12 @@ export default {
const roleIds = row.roleId || this.ids;
this.$modal.confirm('是否确认删除该角色?').then(function () {
return delRole(roleIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).then(res => {
if (res.code === 20000) {
this.getList();
this.$modal.msgSuccess("删除成功");
} else this.$modal.msgError(res.message);
}).catch(() => {
});
},

Loading…
Cancel
Save