Parcourir la source

修改账单跳转

caojunjie il y a 2 ans
Parent
commit
85fafd2e37
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  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 ;