fix 80446

This commit is contained in:
danshihao
2024-01-05 14:23:26 +08:00
parent 77eceb0564
commit 9e008336d9
+3 -1
View File
@@ -1,12 +1,14 @@
<template>
<!-- fix:80446 解决选择内容过长将选择框拉长 -->
<a-select :value="value"
v-bind="$attrs"
v-on="$listeners"
show-search
allowClear
style="max-width: 180px"
option-filter-prop="children"
:filter-option="filterOption">
<a-select-option v-for="item in userList" :key="item.id" :value="item.id">
<a-select-option v-for="item in userList" :key="item.id" :value="item.id" :title="`${ item.realname }(${ item.orgCodeTxt })`">
{{ `${ item.realname }(${ item.orgCodeTxt })` }}
</a-select-option>
</a-select>