fix 80446
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<!-- fix:80446 解决选择内容过长将选择框拉长 -->
|
||||||
<a-select :value="value"
|
<a-select :value="value"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
v-on="$listeners"
|
v-on="$listeners"
|
||||||
show-search
|
show-search
|
||||||
allowClear
|
allowClear
|
||||||
|
style="max-width: 180px"
|
||||||
option-filter-prop="children"
|
option-filter-prop="children"
|
||||||
:filter-option="filterOption">
|
: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 })` }}
|
{{ `${ item.realname }(${ item.orgCodeTxt })` }}
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
|
|||||||
Reference in New Issue
Block a user