Pārlūkot izejas kodu

fix: tagview关闭传参数

Sun 3 gadi atpakaļ
vecāks
revīzija
2875e6f59c

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