Commit 0ec94186 by liang ce

Merge branch 'ISV' of http://gitlab.roboming.com/Simon/mingPay-web into ISV

parents 1fb2c089 8cb2c928
...@@ -132,7 +132,11 @@ export default { ...@@ -132,7 +132,11 @@ export default {
addRole (obj) { addRole (obj) {
// console.log(obj, 111) // console.log(obj, 111)
// this.chooseMenuList = obj.key // this.chooseMenuList = obj.key
this.$router.push({ name: 'addOrRights' }) if (this.roleList.length > 10) {
this.$message.err('最多可添加十个角色')
} else {
this.$router.push({ name: 'addOrRights' })
}
}, },
// 获取所有管理员列表 // 获取所有管理员列表
getAllAdminisgtrator () { 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