File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 77 </Select >
88 </Col >
99 <Col span =" 12" >
10- <Select v-model =" model12" filterable multiple >
10+ <Select v-model =" model12" filterable @on-change = " handlerChange " >
1111 <Option v-for =" item in cityList" :value =" item.value" :key =" item.value" >{{ item.label }}</Option >
1212 </Select >
1313 </Col >
1414 </Row >
1515</template >
1616<script >
17+ import { nextTick } from ' vue' ;
1718 export default {
1819 data () {
1920 return {
6061 }
6162 ],
6263 model11: ' ' ,
63- model12: []
64+ model12: ' '
6465 }
6566 },
6667 methods: {
6768 h1 () {
6869 this .$refs .s1 .focus ();
70+ },
71+ handlerChange (){
6972 }
7073 }
7174 }
Original file line number Diff line number Diff line change 695695 const { publicValue , values } = this ;
696696
697697 this .checkUpdateStatus ();
698- if (value === ' ' ) this .values = [];
699- else if (checkValuesNotEqual (value,publicValue,values)) {
698+ if (value === ' ' ) {
699+ this .values = [];
700+ this .query = ' ' ;
701+ } else if (checkValuesNotEqual (value,publicValue,values)) {
700702 if (! this .multiple ) this .handleFormItemChange (' change' , this .publicValue );
701703 }
702704 },
You can’t perform that action at this time.
0 commit comments