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