This commit is contained in:
@@ -48,6 +48,14 @@ export default {
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
options: {
|
||||
handler() {
|
||||
this.getDataFromApi();
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
lt(ltKey) {
|
||||
return window.$gz.locale.get(ltKey);
|
||||
@@ -121,7 +129,7 @@ export default {
|
||||
listOptions["Mini"] = true;
|
||||
}
|
||||
|
||||
this.loading = true;
|
||||
that.loading = true;
|
||||
var listUrl =
|
||||
that.apiBaseUrl + "?" + window.$gz.api.buildQuery(listOptions);
|
||||
window.$gz.api.get(listUrl).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user