浏览代码

切换菜单时读取数据

gcz 2 年之前
父节点
当前提交
04d0195262
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/index.vue

+ 1 - 1
src/views/index.vue

@@ -202,7 +202,7 @@
         this.$store.commit('changePage',this.navList[index-1].en);
         console.log('this.navList[index-1].en',this.navList[index-1].en);
         this.page = index;
-        // this.getPageData();
+        this.getPageData();
       },
       getPageData(){
         debounce(this.debounceGetData, 1000, true)