Commit a3e00a16 by 杨北旺

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

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