gcz 3 éve
szülő
commit
0f428bd484
2 módosított fájl, 1 hozzáadás és 4 törlés
  1. 0 3
      src/store/addr/index.js
  2. 1 1
      src/views/index.vue

+ 0 - 3
src/store/addr/index.js

@@ -63,17 +63,14 @@ const addr = {
       console.log('searchArea', params)
       searchApi({ parentId: params.parentId }).then(res => {
         if (params.mapLevel == "city") {
-          console.log('111');
           commit("changeDistrictList", res.data);
 
           commit("changeSelectDistrict", {});
           commit("changeSelectStreet", {});
         } else if (params.mapLevel == "district") {
-          console.log('222');
           commit("changeStreetList", res.data);
           commit("changeSelectStreet", {});
         } else {
-          console.log('333');
           commit("changeCityList", res.data);
         }
         commit("changeParentId", params)

+ 1 - 1
src/views/index.vue

@@ -160,7 +160,7 @@
     mounted(){
       setInterval(() => {
         this.getPageData();
-      }, 8000);      
+      }, 60000);      
     },
     watch: {
       xiaobaninput: {