Commit c32bc2e6 by fengzhaoyu

最多可以添加十个角色

parent 8505a0aa
......@@ -132,7 +132,11 @@ export default {
addRole (obj) {
// console.log(obj, 111)
// this.chooseMenuList = obj.key
if (this.roleList.length > 10) {
this.$message.err('最多可添加十个角色')
} else {
this.$router.push({ name: 'addOrRights' })
}
},
// 获取所有管理员列表
getAllAdminisgtrator () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment