fix(接口测试): 修复场景导入中不显示工作空间名称的缺陷

--bug=1033165 --user=王孝刚 【接口测试】接口自动化-场景中导入接口/场景弹框页面没有显示工作空间名称
https://www.tapd.cn/55049933/s/1439054
This commit is contained in:
wxg0103 2023-11-23 10:53:19 +08:00 committed by 刘瑞斌
parent 59d77a1178
commit ac0cc2c4a2
1 changed files with 25 additions and 28 deletions

View File

@ -1,5 +1,5 @@
<template>
<relevance-dialog :width="width" :page-key="pageKey" :title="dialogTitle" ref="relevanceDialog" :full-screen="isFullScreen">
<relevance-dialog :width="width" :title="dialogTitle" ref="relevanceDialog" :full-screen="isFullScreen">
<!-- todo -->
<template slot="headerBtn" v-if="$slots.headerBtn">
<div>
@ -38,7 +38,7 @@
@change="changeWorkspace"
class="ms-header-workspace"
size="small">
<el-option v-for="item in workspaceList" :key="item.id" :value="item.id" :title="item.name">
<el-option v-for="item in workspaceList" :label="item.name" :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>
@ -119,9 +119,6 @@ export default {
type: Boolean,
default: true,
},
pageKey: {
type: String,
},
},
methods: {
refreshNode() {