瀏覽代碼

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)
             }
           })