|
@@ -78,6 +78,10 @@
|
|
myService.myIndex().then(function(result){
|
|
myService.myIndex().then(function(result){
|
|
// alert(JSON.stringify(result.data.data.user));
|
|
// alert(JSON.stringify(result.data.data.user));
|
|
$scope.vm = result.data.data.user;
|
|
$scope.vm = result.data.data.user;
|
|
|
|
+ if($scope.vm.birthday){
|
|
|
|
+ var arr1 = $scope.vm.birthday.split("-");
|
|
|
|
+ $scope.vm.birthday1 = new Date(arr1[0],parseInt(arr1[1])-1,arr1[2]);
|
|
|
|
+ }
|
|
msg.hide();
|
|
msg.hide();
|
|
},function(error){
|
|
},function(error){
|
|
msg.hide();
|
|
msg.hide();
|