Bladeren bron

fix: tagview关闭传参数

Sun 3 jaren geleden
bovenliggende
commit
2875e6f59c
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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)
             }
           })