|
|
@@ -167,8 +167,8 @@ export default {
|
|
|
*/
|
|
|
show(defaultSelect) {
|
|
|
this.search = this.emptySearch();
|
|
|
+ this.refresh();
|
|
|
this.isShow = true;
|
|
|
- // this.refresh()
|
|
|
},
|
|
|
clearSelected() {
|
|
|
this.selectList = [];
|
|
|
@@ -182,6 +182,8 @@ export default {
|
|
|
this.refresh();
|
|
|
},
|
|
|
onHide() {
|
|
|
+ this.search = this.emptySearch();
|
|
|
+ this.refresh();
|
|
|
this.isShow = false;
|
|
|
},
|
|
|
onSelect(item) {
|
|
|
@@ -207,6 +209,8 @@ export default {
|
|
|
},
|
|
|
onSubmit() {
|
|
|
this.$emit("select", this.selectList);
|
|
|
+ this.search = this.emptySearch();
|
|
|
+ this.refresh();
|
|
|
this.onHide();
|
|
|
},
|
|
|
getDefaultKey(key) {
|