This commit is contained in:
2020-01-29 19:46:38 +00:00
parent 9b5b01088f
commit 314fd4ce5a

View File

@@ -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 => {