Parcourir la source

增加销毁方法

xuefy il y a 4 ans
Parent
commit
fd117fb5fc
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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();
         }
     }
 };