feat role success message

This commit is contained in:
smallwei 2019-02-15 16:32:33 +08:00
parent 94d57e00a2
commit fa184bba5f

View File

@ -130,6 +130,10 @@ export default {
const menuLIst = this.$refs.tree.getCheckedKeys().join(","); const menuLIst = this.$refs.tree.getCheckedKeys().join(",");
grant(this.ids[0], menuLIst).then(() => { grant(this.ids[0], menuLIst).then(() => {
this.box = false; this.box = false;
this.$message({
type: "success",
message: "操作成功!"
});
this.onLoad(this.page); this.onLoad(this.page);
}); });
}, },