fix(用户组和权限): 创建系统级用户组异常

This commit is contained in:
shiziyuan9527 2021-06-02 15:02:31 +08:00 committed by 刘瑞斌
parent 9c704c8445
commit 539c4b0caa
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
<el-input type="textarea" v-model="form.description"></el-input>
</el-form-item>
<el-form-item label="全局用户组">
<el-switch v-model="form.global" :disabled="dialogType === 'edit'" @change="change(form.global)"></el-switch>
<el-switch v-model="form.global" :disabled="dialogType === 'edit' || form.type === 'SYSTEM'" @change="change(form.global)"></el-switch>
</el-form-item>
<el-form-item label="所属组织" v-if="show" prop="scopeId">