This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user