This commit is contained in:
2019-12-18 22:39:18 +00:00
parent 607207dce4
commit 3e7b927118
8 changed files with 19 additions and 42 deletions

View File

@@ -31,6 +31,7 @@ function dealWithError(msg, vm) {
msg;
// eslint-disable-next-line no-console
console.log(errMsg);
debugger;
window.$gz.eventBus.$emit("notify-error", "Dev error see log / console");
}

View File

@@ -55,7 +55,7 @@ function handleError(action, error, route, reject) {
"notify-warning",
window.$gz.locale.get("ErrorUserNotAuthorized")
);
router.push("/");
router.push("/dashboard");
return reject("[ErrorUserNotAuthorized]");
}

View File

@@ -147,7 +147,7 @@ export default {
window.open(helpurl, "_blank");
break;
case "logout":
vm.$router.push({ name: "login" });
vm.$router.push("/login");
break;
case "customize":
vm.$router.push({