|
|
@@ -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(){
|