fix 80446
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user