Explorar o código

增加销毁方法

xuefy %!s(int64=4) %!d(string=hai) anos
pai
achega
fd117fb5fc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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();
         }
     }
 };