dedsudiyu 2 år sedan
förälder
incheckning
93cfbe7c4b
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      src/views/mine/index.vue

+ 6 - 0
src/views/mine/index.vue

@@ -470,6 +470,12 @@
       //页面按钮点击
       buttonTypeClick(type){
         if(this.buttonType != type){
+          if(this.$refs.userform){
+            this.$refs.userform.clearValidate()
+          }
+          if(this.$refs.form){
+            this.$refs.form.clearValidate()
+          }
           this.buttonType = type;
         }
       },