Browse Source

優化

master
ltlzx 4 years ago
parent
commit
13b848f5f9
  1. 2
      src/i18n/en.json
  2. 2
      src/i18n/tw.json
  3. 22
      src/views/signUp/index.vue

2
src/i18n/en.json

@ -275,7 +275,7 @@
"phoneCorrect": "Please make sure the mobile phone and area code are correct", "phoneCorrect": "Please make sure the mobile phone and area code are correct",
"securePhone": "Please make sure your phone signal is stable", "securePhone": "Please make sure your phone signal is stable",
"verCode": "Verify Code", "verCode": "Verify Code",
"referrer": "Invitation code", "referrer": "Invitation code(optional)",
"referrer1": "Please enter the invitation code", "referrer1": "Please enter the invitation code",
"phoneNum": "Phone Number", "phoneNum": "Phone Number",
"enterPhoneNum": "Enter Phone Number", "enterPhoneNum": "Enter Phone Number",

2
src/i18n/tw.json

@ -260,7 +260,7 @@
"securityVerification": "安全性驗證", "securityVerification": "安全性驗證",
"disagree": "您還沒有同意條款", "disagree": "您還沒有同意條款",
"registrationSuccess": "注册成功,正在跳轉登入頁面", "registrationSuccess": "注册成功,正在跳轉登入頁面",
"referrer": "邀請碼", "referrer": "邀請碼(選填)",
"referrer1": "請填寫邀請碼", "referrer1": "請填寫邀請碼",
"optional": "選填", "optional": "選填",
"password": "密碼", "password": "密碼",

22
src/views/signUp/index.vue

@ -263,17 +263,17 @@ export default {
); );
return; return;
} }
if (this.user.parentCode=="") { // if (this.user.parentCode=="") {
// // //
this.$message( // this.$message(
{ // {
type: "warning", // type: "warning",
message: this.$t("login.referrer1") + "!" // message: this.$t("login.referrer1") + ""
}, // },
1000 // 1000
); // );
return; // return;
} // }
// //
// if (this.user.parentCode) { // if (this.user.parentCode) {

Loading…
Cancel
Save