소스 검색

fix:清空重定向url

zh 2 년 전
부모
커밋
6c83f2ef61
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/supply/pickup/sum_list.vue

+ 3 - 0
src/views/supply/pickup/sum_list.vue

@@ -450,6 +450,9 @@ export default {
       this.$refs.screenForm.resetFields()
       this.currentPage = 1
       this.getList()
+      if (this.$route.query && this.$route.query.id) {
+        this.$router.replace('/exwarehouse/sum_list')
+      }
     },
 
     // 更改每页数量