dedsudiyu 2 年之前
父節點
當前提交
93cfbe7c4b
共有 1 個文件被更改,包括 6 次插入0 次删除
  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;
         }
       },