Quellcode durchsuchen

修复 绑定 出现sign 对不上

zhejiushizhuce vor 2 Jahren
Ursprung
Commit
bdf23974a5

+ 3 - 1
src/features/actions/hallClient.js

@@ -15,10 +15,12 @@ const __playground_message_types=(message,dispatch)=>{
 
 }
 const handlePayFinish=(message,dispatch)=>{
-    dispatch(reqGameInfo());
     dispatch(updatePayFinish(message));
     let {data}=message;
     if (data&&data.PayNum>=200)global.showDropCoins();
+    setTimeout(()=>{
+        dispatch(reqGameInfo());
+    },1000)
 }
 const handleKick=(message,dispatch)=>{
     let onSure=()=>{

+ 2 - 1
src/locales/languages/en_US.json

@@ -114,7 +114,8 @@
       "otp": "OTP"
     },
     "otp_ph": "Verification Code",
-    "guest_login": "Guest Login"
+    "guest_login": "Guest Login",
+    "btn_otp": "OTP"
   },
   "logout": {
     "success": "You have exited successfully."

+ 2 - 1
src/locales/languages/es_MX.json

@@ -111,7 +111,8 @@
       "otp": "OTP"
     },
     "otp_ph": "Código de verificación",
-    "guest_login": "Acceso de usuario invitado"
+    "guest_login": "Acceso de usuario invitado",
+    "btn_otp": "Verificar"
   },
   "logout": {
     "success": "Has salido exitosamente."

+ 2 - 1
src/locales/languages/pt_BR.json

@@ -111,7 +111,8 @@
       "otp": "OTP"
     },
     "otp_ph": "Código de verificação",
-    "guest_login": "Login como convidado"
+    "guest_login": "Login como convidado",
+    "btn_otp": "Verificar"
   },
   "logout": {
     "success": "Você saiu com sucesso."

+ 2 - 1
src/locales/languages/ru_RU.json

@@ -111,7 +111,8 @@
       "otp": "ОТП"
     },
     "otp_ph": "Проверочный код",
-    "guest_login": "Гостевой вход"
+    "guest_login": "Гостевой вход",
+    "btn_otp": "Проверить"
   },
   "logout": {
     "success": "Вы успешно вышли."

+ 2 - 1
src/locales/languages/zh_TW.json

@@ -111,7 +111,8 @@
       "otp": "驗證碼"
     },
     "otp_ph": "驗證碼",
-    "guest_login": "訪客登入"
+    "guest_login": "訪客登入",
+    "btn_otp": "驗證碼"
   },
   "logout": {
     "success": "您已成功退出。"

+ 1 - 1
src/widgets/LoginForm/index.jsx

@@ -282,7 +282,7 @@ const LoginForm = ({close}) => {
                                                         <CircularProgress color="success" size={22} thickness={5}/>) : (
                                                         <>
                                                             {
-                                                                otpCD <= 0 ? "OTP" : otpCD + "S"
+                                                                otpCD <= 0 ? i18n.t('login.btn_otp') : otpCD + "S"
                                                             }
                                                         </>
                                                     )

+ 1 - 1
src/widgets/WBindPhone/index.jsx

@@ -185,7 +185,7 @@ const WBindPhone=({})=>{
                                                        otpStatus===REQ_STATUS.LOADING?(<CircularProgress color="success" size={22} thickness={5} />):(
                                                            <>
                                                                {
-                                                                   otpCD<=0?"OTP":otpCD+"S"
+                                                                   otpCD<=0?i18n.t('login.btn_otp'):otpCD+"S"
                                                                }
                                                            </>
                                                        )