浏览代码

修改账单跳转

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 ;