소스 검색

fix: tagview关闭传参数

Sun 3 년 전
부모
커밋
2875e6f59c
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/business/coupon/add.vue
  2. 1 1
      src/views/business/goods/add.vue

+ 1 - 1
src/views/business/coupon/add.vue

@@ -177,7 +177,7 @@ export default {
                 message: this.addData.couponId ? '修改成功!' : '添加成功!',
                 type: 'success'
               })
-              this.$store.dispatch('tagsView/delView', this.$route.path)
+              this.$store.dispatch('tagsView/delView', this.$route)
               this.$router.go(-1)
             }
           }).catch(() => {

+ 1 - 1
src/views/business/goods/add.vue

@@ -203,7 +203,7 @@ export default {
                 message: this.addData.goodsId ? '修改成功!' : '添加成功!',
                 type: 'success'
               })
-              this.$store.dispatch('tagsView/delView', this.$route.path)
+              this.$store.dispatch('tagsView/delView', this.$route)
               this.$router.go(-1)
             }
           })