Commit a3e00a16 by 杨北旺

角色管理创建草稿去掉产品判断

1 parent 5f3d21a4
......@@ -203,15 +203,15 @@ export default {
this.$message.error('角色和权限至少选择一项')
return
}
this.roleRootRules = false
if (this.$refs.productFrom.getSelectInfo().length == 0) {
this.roleRootRules = true
return
}
if (this.$refs.productFrom.productTab === '') {
this.$message.error('请至少选择一项产品')
return
}
// this.roleRootRules = false
// if (this.$refs.productFrom.getSelectInfo().length == 0) {
// this.roleRootRules = true
// return
// }
// if (this.$refs.productFrom.productTab === '') {
// this.$message.error('请至少选择一项产品')
// return
// }
let accountTypes = JSON.stringify(this.$refs.productFrom.getSelectInfo())
let para = {
merchantId: merchantId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!