cea2e941 by ex

登录

1 parent bb2643e8
...@@ -21,10 +21,11 @@ angular.module('myApp') ...@@ -21,10 +21,11 @@ angular.module('myApp')
21 if (data.meta.code == 200) { 21 if (data.meta.code == 200) {
22 data.data.userName = $scope.phoneNumberVal; 22 data.data.userName = $scope.phoneNumberVal;
23 globalService.saveData('user',data.data); 23 globalService.saveData('user',data.data);
24 // layer.open({ 24 window.history.back();
25 // content: '登录成功', 25 layer.open({
26 // time:1 26 content: '登录成功',
27 // }); 27 time:1
28 });
28 setTimeout(function() { 29 setTimeout(function() {
29 location.reload(); 30 location.reload();
30 } , 300); 31 } , 300);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!