zhangyuhan 1 год назад
Родитель
Сommit
0335ac33fa
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      apps/bigmember_pc/src/views/order/components/data-export/info.vue

+ 5 - 1
apps/bigmember_pc/src/views/order/components/data-export/info.vue

@@ -486,7 +486,11 @@ export default {
     ...mapActions('user', ['getUserAccountInfo']),
     // 返回筛选页面
     backToFilter() {
-      history.back()
+      if (history.length === 1) {
+        window.close()
+      } else {
+        history.back()
+      }
     },
     getQuery() {
       const { productId } = this.$route.meta