|
@@ -153,7 +153,7 @@ var app = new Vue({
|
|
|
for(var i=20;i>=0;i--){
|
|
for(var i=20;i>=0;i--){
|
|
|
years.push(year-i);
|
|
years.push(year-i);
|
|
|
}
|
|
}
|
|
|
- var code = $("#birthday").attr('data-code');
|
|
|
|
|
|
|
+ var code = $("#birthday").val();
|
|
|
_this.params.birthday = _this.params.birthday? $.trim(_this.params.birthday)+' ' : (code? code : (year-10)+'-01-01 ');
|
|
_this.params.birthday = _this.params.birthday? $.trim(_this.params.birthday)+' ' : (code? code : (year-10)+'-01-01 ');
|
|
|
_this.params.birthday_code = _this.params.birthday_code? _this.params.birthday_code+'' : (code? code : (year-10)+'-01-01 ');
|
|
_this.params.birthday_code = _this.params.birthday_code? _this.params.birthday_code+'' : (code? code : (year-10)+'-01-01 ');
|
|
|
$("#birthday").val(_this.params.birthday_code);
|
|
$("#birthday").val(_this.params.birthday_code);
|