diff --git a/clientarea/hgcloud/forget.php b/clientarea/hgcloud/forget.php
index e4f6576..bf0fbb9 100644
--- a/clientarea/hgcloud/forget.php
+++ b/clientarea/hgcloud/forget.php
@@ -11,9 +11,18 @@
+
+
+
+
+
+ {{item.display_name}}
+
+
diff --git a/clientarea/hgcloud/js/forget.js b/clientarea/hgcloud/js/forget.js
index d1d2bf4..b9dac5c 100644
--- a/clientarea/hgcloud/js/forget.js
+++ b/clientarea/hgcloud/js/forget.js
@@ -30,7 +30,10 @@
token: "",
captcha: "",
countryList: [],
- commonData: {},
+ commonData: {
+ lang_list: [],
+ },
+ seletcLang: "",
codeAction: "emailCode",
};
},
@@ -260,6 +263,7 @@
try {
const res = await getCommon();
this.commonData = res.data.data;
+ this.seletcLang = getBrowserLanguage();
if (
this.commonData.captcha_client_login == 1 &&
(this.commonData.captcha_client_login_error == 0 ||
@@ -421,6 +425,11 @@
toLogin() {
location.href = "login.htm";
},
+ // 语言切换
+ changeLang(e) {
+ sessionStorage.setItem("brow_lang", e);
+ window.location.reload();
+ },
},
}).$mount(login);
typeof old_onload == "function" && old_onload();