zhejiushizhuce 2 жил өмнө
parent
commit
e342963118

+ 1 - 1
src/App.js

@@ -264,7 +264,7 @@ const App = () => {
         console.log("serverKick___________"+serverKick)
         if (serverKick===1){
             if (pathname.startsWith(ROUTE_PATH.GAME)){
-                navigate("");
+                navigate("/");
             }
         }
     },serverKick)

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

@@ -57,7 +57,7 @@ const roger=(message,dispatch)=>{
                     let {data}=message;
                     let reason=data.reason;
                     if (reason!=null){
-                        toast.error(i18n.t(reason));
+                        toast.error(i18n.t("hall.offline"));
                     }
                 }
                 dispatch(updateServerKick(1));