|
@@ -134,7 +134,10 @@ export function statusCodesHandler(result, callback) {
|
|
|
$alert({
|
|
|
content: i18n.t("tips_code.FAILURE_3011"),
|
|
|
ok: () => {
|
|
|
- window.location.href = "./material.html";
|
|
|
+ const lang = browser.urlQueryValue("lang");
|
|
|
+ location.replace(
|
|
|
+ `./material.html?lang=${lang}#/works`
|
|
|
+ );
|
|
|
},
|
|
|
});
|
|
|
return false;
|
|
@@ -144,7 +147,10 @@ export function statusCodesHandler(result, callback) {
|
|
|
$alert({
|
|
|
content: i18n.t("tips_code.FAILURE_3011"),
|
|
|
ok: () => {
|
|
|
- window.location.href = "./material.html";
|
|
|
+ const lang = browser.urlQueryValue("lang");
|
|
|
+ location.replace(
|
|
|
+ `./material.html?lang=${lang}#/works`
|
|
|
+ );
|
|
|
},
|
|
|
});
|
|
|
return false;
|