Explorar o código

destroy不生效

Luolei %!s(int64=6) %!d(string=hai) anos
pai
achega
fb5ec6bfa7

+ 4 - 0
src/components/icss/PubTagGroup.vue

@@ -293,6 +293,10 @@ export default {
       systom:null,      //标签系统名称存在与否
     }
   },
+  beforeDestroy:function(){
+    console.log(995)
+    this.searchVal = ''
+  },
   computed: {
     newSex() {
       return this.form.region7;

+ 2 - 1
src/components/icss/PubTagPartDetail.vue

@@ -135,7 +135,8 @@ export default {
     }
   },
 
-  destroyed:function(){
+  beforeDestroy:function(){
+    console.log(99)
     this.searchVal = ''
   },
   data() {