BF-202210271038\Administrator 2 anos atrás
pai
commit
86213eee61
1 arquivos alterados com 7 adições e 1 exclusões
  1. 7 1
      pages/perfect/sexAndAge.vue

+ 7 - 1
pages/perfect/sexAndAge.vue

@@ -155,7 +155,7 @@ export default {
           this.setFocus(1)
         }else {
           if(this.ageObj.month!=='' ){
-            if(this.ageObj.month > 12 || this.ageObj.month < 1){
+            if( this.ageObj.month > 12 || this.ageObj.month < 1){
               this.setShake()
               this.ageObj.month=''
               this.ageObj.day=''
@@ -170,10 +170,16 @@ export default {
                 }else {
                   this.age=this.ageObj.year+'-'+this.ageObj.month+'-'+this.ageObj.day
                 }
+              }else {
+                this.age=''
               }
             }
+          }else {
+            this.age=''
           }
         }
+      }else {
+        this.age=''
       }
     },
     setShake(){