소스 검색

增加销毁方法

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