Explorar el Código

修改账单跳转

caojunjie hace 2 años
padre
commit
85fafd2e37
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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 ;