凉纪 1 anno fa
parent
commit
6c642977ba
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/menu/problemItem/index.vue

+ 2 - 2
src/views/menu/problemItem/index.vue

@@ -131,7 +131,7 @@ export default {
   beforeRouteEnter(to,from,next){
     next(vm=>{
       if(to.params.event === 'refresh'){
-        vm.initData();
+        vm.refreshData();
       }
     })
   },
@@ -153,10 +153,10 @@ export default {
     initData(){
       this.query.orgId = this.orgId;
       this.query.reformDate = formatDate(new Date(),'YYYY-MM-DD');
-      this.getDataList();
     },
     //获取数据列表
     getDataList(){
+      console.log('233333')
       //if(!this.query.orgId) return this.$toast('请选择机构');
       if( this.dataList.length !== 0 && this.dataList.length >= this.total) {
         this.pullup = false;