perf: 增加悬停显示完整文案
This commit is contained in:
@ -12,9 +12,11 @@
|
|||||||
allow-search
|
allow-search
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
>
|
>
|
||||||
<a-option v-for="(item, index) in options" :key="index" :value="item.id" :label="item.name">
|
<a-tooltip v-for="(item, index) in options" :key="index" :content="item.name">
|
||||||
{{ item.name }}
|
<a-option :value="item.id" :label="item.name">
|
||||||
</a-option>
|
{{ item.name }}
|
||||||
|
</a-option>
|
||||||
|
</a-tooltip>
|
||||||
</a-select>
|
</a-select>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user