|
|
|
|
@ -28,12 +28,13 @@
|
|
|
|
|
</span>
|
|
|
|
|
<span class="img-box-value">
|
|
|
|
|
|
|
|
|
|
<a-select
|
|
|
|
|
<a-select showSearch
|
|
|
|
|
ref="select"
|
|
|
|
|
:filter-option="filterOption"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
:placeholder="checkObj.category"
|
|
|
|
|
:defaultValue="checkObj.category"
|
|
|
|
|
@change="handleChangeVlue"
|
|
|
|
|
:filterOption="filterOption"
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
<a-select-option v-for="i in categorys" :key="i">
|
|
|
|
|
@ -202,6 +203,10 @@ export default {
|
|
|
|
|
Model,
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
filterOption(input, option) {
|
|
|
|
|
console.log("111");
|
|
|
|
|
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
|
|
|
},
|
|
|
|
|
handleChangeVlue(value){
|
|
|
|
|
this.checkObj.category = value
|
|
|
|
|
},
|
|
|
|
|
|