浏览代码

增加销毁方法

xuefy 4 年之前
父节点
当前提交
fd117fb5fc
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      front-vue/src/views/approval/approval/deal.vue

+ 2 - 1
front-vue/src/views/approval/approval/deal.vue

@@ -30,7 +30,8 @@ export default {
     },
     methods:{
         goParent(){
-            this.$store.dispatch("tagsView/delView", this.$route);  
+            this.$store.dispatch("tagsView/delView", this.$route); 
+            this.$destroy();
         }
     }
 };