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