refactor(系统设置): 优化项目下拉框显示

This commit is contained in:
wxg0103 2024-06-12 10:19:31 +08:00 committed by wxg0103
parent aeef403e70
commit edcb46a44c
1 changed files with 5 additions and 3 deletions

View File

@ -14,9 +14,11 @@
<div v-else style="height: 150px;overflow: auto">
<el-menu-item :key="i.id" v-for="i in items" @click="change(i.id)">
<template slot="title">
<div class="title">
{{ i.name }}
</div>
<el-tooltip effect="light" placement="right">
<div slot="content">{{ i.name }}</div>
<span class="title"> {{ i.name }}
</span>
</el-tooltip>
<i class="el-icon-check" v-if="i.id === getCurrentProjectID()"></i>
</template>
</el-menu-item>