@@ -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