Commit 16f7790b6242366843f970baf0401c9e0390ec55
1 parent
cbcee509
登录
Showing
2 changed files
with
4 additions
and
2 deletions
login/login.html
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | <link rel="stylesheet" href="../resource/public/plugins.min.css?a=2"> | 8 | <link rel="stylesheet" href="../resource/public/plugins.min.css?a=2"> |
9 | <link rel="stylesheet" href="../resource/public/commoncss.css?a=2"> | 9 | <link rel="stylesheet" href="../resource/public/commoncss.css?a=2"> |
10 | <link rel="stylesheet" href="../topages/login/login.css"> | 10 | <link rel="stylesheet" href="../topages/login/login.css"> |
11 | - <script src="../resource/js/unit.js"></script> | 11 | + |
12 | 12 | ||
13 | </head> | 13 | </head> |
14 | <body> | 14 | <body> |
@@ -27,7 +27,8 @@ | @@ -27,7 +27,8 @@ | ||
27 | 27 | ||
28 | 28 | ||
29 | <script src="../resource/lib/jquery/jquery.min.js"></script> | 29 | <script src="../resource/lib/jquery/jquery.min.js"></script> |
30 | + <script src="../resource/js/unit.js"></script> | ||
30 | <script src="../topages/login/login.js?a=1"></script> | 31 | <script src="../topages/login/login.js?a=1"></script> |
31 | -<script src="../resource/js/unit.js?a=1"></script> | 32 | +<!--<script src="../resource/js/unit.js?a=1"></script>--> |
32 | </body> | 33 | </body> |
33 | </html> | 34 | </html> |
34 | \ No newline at end of file | 35 | \ No newline at end of file |
topages/login/login.js
@@ -38,6 +38,7 @@ var func ={ | @@ -38,6 +38,7 @@ var func ={ | ||
38 | dataType: 'json', | 38 | dataType: 'json', |
39 | success: function (res) { | 39 | success: function (res) { |
40 | if(res != null && res != '' && res !=undefined && res.code =='8888' ){ | 40 | if(res != null && res != '' && res !=undefined && res.code =='8888' ){ |
41 | + | ||
41 | $('#login-errorifo').text(''); | 42 | $('#login-errorifo').text(''); |
42 | fn.setToken(res.data.accessToken); | 43 | fn.setToken(res.data.accessToken); |
43 | fn.setUserName(res.data.userName); | 44 | fn.setUserName(res.data.userName); |