소스 검색

修改账单跳转

caojunjie 2 년 전
부모
커밋
85fafd2e37
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/views/financialManagement/mBillDetails/billDetails.vue

+ 4 - 1
src/views/financialManagement/mBillDetails/billDetails.vue

@@ -102,8 +102,11 @@
       }
     },
     async created() {
+      if (this.$route.query.dc){
+        this.$router.$avueRouter.closeTag(window.location.hash.slice(1))
+        this.$router.push({ query: {} });
+      }
       this.option = await this.getColumnData(this.getColumnName(60.1), option);
-      this.$router.$avueRouter.closeTag(window.location.hash.slice(1))
     },
     mounted() {
       // option.height = window.innerHeight - 200 ;