|
@@ -134,9 +134,7 @@ export function statusCodesHandler(result, callback) {
|
|
$alert({
|
|
$alert({
|
|
content: i18n.t("tips_code.FAILURE_3011"),
|
|
content: i18n.t("tips_code.FAILURE_3011"),
|
|
ok: () => {
|
|
ok: () => {
|
|
- localStorage.setItem("token", "");
|
|
|
|
- localStorage.setItem("info", "");
|
|
|
|
- window.location.href = "/#/";
|
|
|
|
|
|
+ window.location.href = "./material.html";
|
|
},
|
|
},
|
|
});
|
|
});
|
|
return false;
|
|
return false;
|
|
@@ -146,9 +144,7 @@ export function statusCodesHandler(result, callback) {
|
|
$alert({
|
|
$alert({
|
|
content: i18n.t("tips_code.FAILURE_3011"),
|
|
content: i18n.t("tips_code.FAILURE_3011"),
|
|
ok: () => {
|
|
ok: () => {
|
|
- localStorage.setItem("token", "");
|
|
|
|
- localStorage.setItem("info", "");
|
|
|
|
- window.location.href = "/#/";
|
|
|
|
|
|
+ window.location.href = "./material.html";
|
|
},
|
|
},
|
|
});
|
|
});
|
|
return false;
|
|
return false;
|