refactor: 项目切换时显示项目名
--bug=1008497 --user= 【github#8262】项目选择框太短,看不清项目名 https://www.tapd.cn/55049933/s/1077666 Closes #8262
This commit is contained in:
parent
1bd3ebf4a9
commit
92ac82ced0
|
@ -4,9 +4,12 @@
|
||||||
<el-menu-item index="1" v-show="false">Placeholder</el-menu-item>
|
<el-menu-item index="1" v-show="false">Placeholder</el-menu-item>
|
||||||
<el-submenu index="2" popper-class="submenu">
|
<el-submenu index="2" popper-class="submenu">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<span class="project-name" :title="currentProject">
|
<el-tooltip effect="light" placement="right" :enterable="false">
|
||||||
|
<div slot="content">{{ currentProject }}</div>
|
||||||
|
<span class="project-name">
|
||||||
{{ $t('commons.project') }}: {{ currentProject }}
|
{{ $t('commons.project') }}: {{ currentProject }}
|
||||||
</span>
|
</span>
|
||||||
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
<search-list :current-project.sync="currentProject"/>
|
<search-list :current-project.sync="currentProject"/>
|
||||||
<div v-permission="['WORKSPACE_PROJECT_MANAGER:READ']">
|
<div v-permission="['WORKSPACE_PROJECT_MANAGER:READ']">
|
||||||
|
|
Loading…
Reference in New Issue