refactor(系统设置): 优化项目下拉框显示
This commit is contained in:
parent
aeef403e70
commit
edcb46a44c
|
@ -14,9 +14,11 @@
|
||||||
<div v-else style="height: 150px;overflow: auto">
|
<div v-else style="height: 150px;overflow: auto">
|
||||||
<el-menu-item :key="i.id" v-for="i in items" @click="change(i.id)">
|
<el-menu-item :key="i.id" v-for="i in items" @click="change(i.id)">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<div class="title">
|
<el-tooltip effect="light" placement="right">
|
||||||
{{ i.name }}
|
<div slot="content">{{ i.name }}</div>
|
||||||
</div>
|
<span class="title"> {{ i.name }}
|
||||||
|
</span>
|
||||||
|
</el-tooltip>
|
||||||
<i class="el-icon-check" v-if="i.id === getCurrentProjectID()"></i>
|
<i class="el-icon-check" v-if="i.id === getCurrentProjectID()"></i>
|
||||||
</template>
|
</template>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
|
Loading…
Reference in New Issue