This commit is contained in:
2020-05-14 18:00:19 +00:00
parent e6b2a62bd0
commit c8085f53ee
2 changed files with 2 additions and 3 deletions

View File

@@ -336,7 +336,6 @@ export default {
}) })
.catch(function handleGetError(error) { .catch(function handleGetError(error) {
//fundamental error, can't proceed with this call //fundamental error, can't proceed with this call
//license/trial
handleError("GET", error, route, reject); handleError("GET", error, route, reject);
}); });
}); });

View File

@@ -224,11 +224,11 @@ export default {
title: "" title: ""
}); });
window.$gz.api window.$gz.api
.get("license/trial") .get("notify/hello")
.then(res => { .then(res => {
if (res.data) { if (res.data) {
// console.log("res.data:", res.data); // console.log("res.data:", res.data);
vm.trialMode = res.data; vm.trialMode = !res.data;
} }
}) })
.catch(function handleGetTrialModeError(error) { .catch(function handleGetTrialModeError(error) {