fix(用户组和权限): 添加工作空间类型成员页面报错问题

This commit is contained in:
shiziyuan9527 2021-10-29 14:09:15 +08:00 committed by shiziyuan9527
parent 11dfb6774d
commit cfd25fff76
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@
</el-dialog>
<el-dialog :close-on-click-modal="false" :visible.sync="memberVisible" width="45%"
:title="title" :destroy-on-close="true" v-loading="memberResult.loading" @close="memberDialogClose">
<el-form ref="memberFrom" label-position="right" :model="form" size="small" :rules="rules" label-width="100px"
<el-form ref="memberFrom" label-position="right" :model="form" size="small" :rules="rules" label-width="120px"
style="margin-right: 40px;">
<el-form-item :label="$t('commons.member')" prop="userIds">
<el-select
@ -259,7 +259,7 @@ export default {
})
},
getResource() {
this.memberResult = this.$get('/organization/list/resource/' + this.group.id + "/" + this.group.type, res => {
this.memberResult = this.$get('/workspace/list/resource/' + this.group.id + "/" + this.group.type, res => {
let data = res.data;
if (data) {
this._setResource(this.group.type, data);