This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user