shish před 3 roky
rodič
revize
351ff3e218
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      hdApp/src/admin/home/workbench.vue

+ 4 - 4
hdApp/src/admin/home/workbench.vue

@@ -175,9 +175,9 @@ export default {
             if(Number(newVal.onlyCg) == 1){
             if(Number(newVal.onlyCg) == 1){
               this.loginStyle  = 1
               this.loginStyle  = 1
               uni.hideTabBar()
               uni.hideTabBar()
+            }else{
+              this.loginStyle  = 2
             }
             }
-          }else{
-            this.loginStyle  = 2
           }
           }
       }
       }
 		}
 		}
@@ -193,9 +193,9 @@ export default {
             if(Number(this.loginInfo.onlyCg) == 1){
             if(Number(this.loginInfo.onlyCg) == 1){
               this.loginStyle  = 1
               this.loginStyle  = 1
               uni.hideTabBar()
               uni.hideTabBar()
+            }else{
+              this.loginStyle  = 2
             }
             }
-          }else{
-            this.loginStyle  = 2
           }
           }
       }
       }