md
This commit is contained in:
parent
e398c5c847
commit
4874751953
@ -116,7 +116,6 @@
|
|||||||
created() {
|
created() {
|
||||||
if(this.svalue!=null){
|
if(this.svalue!=null){
|
||||||
this.queryData(null,this.svalue);
|
this.queryData(null,this.svalue);
|
||||||
this.onChange();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -152,6 +151,8 @@
|
|||||||
// 初始值存储
|
// 初始值存储
|
||||||
if(key==null && val==null){
|
if(key==null && val==null){
|
||||||
this.defaultItems=[...this.optionItems]
|
this.defaultItems=[...this.optionItems]
|
||||||
|
}else{
|
||||||
|
this.onChange();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -109,6 +109,8 @@
|
|||||||
// 初始值存储
|
// 初始值存储
|
||||||
if(key==null && val==null){
|
if(key==null && val==null){
|
||||||
this.defaultItems=[...this.optionItems]
|
this.defaultItems=[...this.optionItems]
|
||||||
|
}else{
|
||||||
|
this.onChange();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user