Forráskód Böngészése

去掉地区选择

zhejiushizhuce 2 éve
szülő
commit
7e82b859e3

+ 1 - 0
src/Global.js

@@ -127,6 +127,7 @@ global.checkDomainArea=()=>{
     return areaID;
 }
 global.getLocalAreaID=()=>{
+    return 1;
     let areaID=Number(localStorageGet(LOCAL_AREA_ID,0));
     if (areaID===0){
         let dAreaID=global.checkDomainArea();

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

@@ -272,6 +272,7 @@ const LoginForm = ({close}) => {
         )
     }
     const renderAreaSelect=()=>{
+        return (<></>);
         let item=getAreaItem();
         if (item==null)return (<></>);
         return (

+ 1 - 0
src/widgets/UserSettings/index.jsx

@@ -375,6 +375,7 @@ const UserSettings=()=>{
         )
     }
     const renderItemArea=()=>{
+        return (<></>);
         if (isLogin)return (<></>);
         return (
             <button className={styles.action_item} onClick={()=>{