Explorar o código

点击侧边不获取数据,让监听变化获取

gcz %!s(int64=3) %!d(string=hai) anos
pai
achega
7e0c818c06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/index.vue

+ 1 - 1
src/views/index.vue

@@ -200,7 +200,7 @@
         let pageLabel = ['forest','treeSpecies','sink','circulation','economics','event']
         this.$store.commit('changePage',pageLabel[index-1]);
         this.page = index;
-        this.getPageData();
+        // this.getPageData();
       },
       getPageData(){
         debounce(this.debounceGetData, 1000, true)