fix(系统设置): 工作空间名称超长,创建用户选则工作空间时样式问题

--bug=1027734 --user=王旭 【系统设置】github#25526,系统设置-用户管理,当工作空间名称超长显示不全,样式不太好看 https://www.tapd.cn/55049933/s/1392907
This commit is contained in:
WangXu10 2023-07-13 13:51:46 +08:00 committed by fit2-zhao
parent 0cefb29cff
commit 41150b1c7a
1 changed files with 6 additions and 4 deletions

View File

@ -52,11 +52,12 @@
:filter-method="(value) => filterWorkspaceOption(value, group)" :filter-method="(value) => filterWorkspaceOption(value, group)"
@visible-change="(value) => resetWorkspaceOption(value, group)" @visible-change="(value) => resetWorkspaceOption(value, group)"
class="edit-user-select" @change="updateWorkSpace(group.index,group.type)"> class="edit-user-select" @change="updateWorkSpace(group.index,group.type)">
<el-option <el-option style="width:690px"
v-for="item in group.workspaceOptions" v-for="item in group.workspaceOptions"
:key="item.id" :key="item.id"
:label="item.name" :label="item.name"
:value="item.id"> :value="item.id"
:title="item.name">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -70,11 +71,12 @@
:filter-method="(value) => filterProjectOption(value, group)" :filter-method="(value) => filterProjectOption(value, group)"
@visible-change="(value) => resetProjectOption(value, group)" @visible-change="(value) => resetProjectOption(value, group)"
class="edit-user-select" @change="setWorkSpaceIds(group.ids,group.projects)"> class="edit-user-select" @change="setWorkSpaceIds(group.ids,group.projects)">
<el-option <el-option style="width:690px"
v-for="item in group.projectOptions" v-for="item in group.projectOptions"
:key="item.id" :key="item.id"
:label="item.name" :label="item.name"
:value="item.id"> :value="item.id"
:title="item.name">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>