Parcourir la source

首页加载站点

zuy il y a 7 mois
Parent
commit
dd49683720
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/pages/index/index.vue

+ 2 - 2
src/pages/index/index.vue

@@ -193,7 +193,7 @@ onShow(() => {
 
   console.log("show index>>>>", isLogin.value, state.stationList, state.location)
   let locationData = getApp<any>().globalData.location;
-  if(isLogin.value) {
+  // if(isLogin.value) {
     if (!locationData || !locationData.longitude) {
       loadCurrentLocation();
     } else {
@@ -201,7 +201,7 @@ onShow(() => {
       loadWashStationList();
     }
 
-  }
+  // }
 
   loadBannerList();