Bläddra i källkod

fix: tagview关闭传参数

Sun 3 år sedan
förälder
incheckning
2875e6f59c
2 ändrade filer med 2 tillägg och 2 borttagningar
  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)
             }
           })