ops-log completed (for now)
This commit is contained in:
@@ -159,7 +159,7 @@ export default {
|
|||||||
if (!contentType) {
|
if (!contentType) {
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
console.log("gzapi::extractBody method, content type is:", contentType);
|
//console.log("gzapi::extractBody method, content type is:", contentType);
|
||||||
if (contentType.includes("json")) {
|
if (contentType.includes("json")) {
|
||||||
return response.json();
|
return response.json();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,10 +23,9 @@
|
|||||||
<pre>{{ log }}</pre>
|
<pre>{{ log }}</pre>
|
||||||
</v-card>
|
</v-card>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-btn @click="getDataFromApi" class="m-4">
|
<v-btn @click="getDataFromApi">
|
||||||
<v-icon>fa-sync</v-icon>
|
<v-icon>fa-sync</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-btn text>Button</v-btn>
|
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
@@ -47,7 +46,7 @@ export default {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
vm.formState.ready = true;
|
vm.formState.ready = true;
|
||||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||||
|
generateMenu(vm);
|
||||||
vm.formState.loading = false;
|
vm.formState.loading = false;
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
@@ -77,14 +76,14 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onResize() {
|
onResize() {
|
||||||
this.logCardHeight = window.innerHeight * 0.65;
|
this.logCardHeight = window.innerHeight * 0.7;
|
||||||
},
|
|
||||||
translation() {
|
|
||||||
return window.$gz.translation;
|
|
||||||
},
|
|
||||||
locale() {
|
|
||||||
return window.$gz.locale;
|
|
||||||
},
|
},
|
||||||
|
// translation() {
|
||||||
|
// return window.$gz.translation;
|
||||||
|
// },
|
||||||
|
// locale() {
|
||||||
|
// return window.$gz.locale;
|
||||||
|
// },
|
||||||
form() {
|
form() {
|
||||||
return window.$gz.form;
|
return window.$gz.form;
|
||||||
},
|
},
|
||||||
@@ -132,7 +131,7 @@ export default {
|
|||||||
valid: true,
|
valid: true,
|
||||||
loading: false
|
loading: false
|
||||||
});
|
});
|
||||||
generateMenu(vm);
|
// generateMenu(vm);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(function handleGetDataFromAPIError(error) {
|
.catch(function handleGetDataFromAPIError(error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user