fix(接口测试): 【接口测试】接口定义-CASE-批量执行-资源池下拉列表-有两个滚动条

--bug=1032190 --user=白奇 【接口测试】接口定义-CASE-批量执行-资源池下拉列表-有两个滚动条 https://www.tapd.cn/55049933/s/1435290
This commit is contained in:
baiqi 2023-11-10 16:31:35 +08:00 committed by Craftsman
parent 54d18bb225
commit f413a9bcba
1 changed files with 5 additions and 12 deletions

View File

@ -38,12 +38,11 @@
@change="changeWorkspace"
class="ms-header-workspace"
size="small">
<el-option
v-for="item in workspaceList"
:key="item.id"
:label="item.name"
:value="item.id"
:title="item.name" />
<el-option v-for="item in workspaceList" :key="item.id" :value="item.id" :title="item.name">
<div style="max-width: 450px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap">
{{ item.name }}
</div>
</el-option>
</el-select>
<select-menu
:data="projects"
@ -197,7 +196,6 @@ export default {
},
};
</script>
<style scoped>
.menu-title {
color: darkgrey;
@ -210,8 +208,3 @@ export default {
margin-bottom: 10px;
}
</style>
<style>
.el-select-dropdown__wrap {
max-width: 500px;
}
</style>