This commit is contained in:
2020-06-25 23:00:06 +00:00
parent 00c94b111b
commit 82580eb282
3 changed files with 47 additions and 37 deletions

View File

@@ -359,6 +359,10 @@ export default {
singleSelect: {
type: Boolean,
default: false
},
reload: {
type: Boolean,
default: false
}
},
watch: {
@@ -390,6 +394,11 @@ export default {
if (newValue.length != oldValue.length) {
this.handleSelectChange();
}
},
reload: function(newValue, oldValue) {
if (newValue != oldValue) {
this.getDataFromApi();
}
}
},
methods: {