This commit is contained in:
@@ -37,7 +37,7 @@ export default {
|
||||
.then(() => {
|
||||
vm.formState.ready = true;
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
// vm.getDataFromApi();
|
||||
|
||||
vm.formState.loading = false;
|
||||
})
|
||||
.catch(err => {
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
log: [],
|
||||
log: null,
|
||||
selectedLog: null,
|
||||
selectLists: {
|
||||
serverLogs: []
|
||||
@@ -106,10 +106,10 @@ export default {
|
||||
vm.formState.serverError = res.error;
|
||||
window.$gz.form.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
if (res.data) {
|
||||
vm.log = res.data;
|
||||
if (res) {
|
||||
vm.log = res;
|
||||
} else {
|
||||
vm.log = null;
|
||||
vm.log = vm.$ay.t("NoData");
|
||||
}
|
||||
|
||||
window.$gz.form.setFormState({
|
||||
|
||||
Reference in New Issue
Block a user