|
@@ -142,8 +142,8 @@
|
|
>
|
|
>
|
|
<a-icon slot='suffixIcon' type='search'/>
|
|
<a-icon slot='suffixIcon' type='search'/>
|
|
<a-select-option
|
|
<a-select-option
|
|
- v-for='(user, uIndex) in userList'
|
|
|
|
- :key='uIndex'
|
|
|
|
|
|
+ v-for='user in userList'
|
|
|
|
+ :key='user.name'
|
|
:value='user.value'
|
|
:value='user.value'
|
|
>
|
|
>
|
|
<a-tooltip placement="right">
|
|
<a-tooltip placement="right">
|
|
@@ -640,7 +640,7 @@ export default {
|
|
*/
|
|
*/
|
|
handleFilterOption(input, option) {
|
|
handleFilterOption(input, option) {
|
|
return (
|
|
return (
|
|
- option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
|
|
+ option.key.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
);
|
|
);
|
|
},
|
|
},
|
|
/**
|
|
/**
|