删除多余代码
Showing
1 changed file
with
0 additions
and
17 deletions
| ... | @@ -222,20 +222,3 @@ | ... | @@ -222,20 +222,3 @@ |
| 222 | table.fnDraw(); | 222 | table.fnDraw(); |
| 223 | } | 223 | } |
| 224 | </script> | 224 | </script> |
| 225 | |||
| 226 | <script type="application/javascript"> | ||
| 227 | // 这部分代码要放到登录操作完成后立即执行 | ||
| 228 | $.ajax({ | ||
| 229 | type: 'get', | ||
| 230 | url: apiBaseUrl + 'system/user/loginUser', | ||
| 231 | cache: false, | ||
| 232 | dataType: 'json', | ||
| 233 | contentType: "application/json; charset=UTF-8", | ||
| 234 | success: function(data){ | ||
| 235 | Cookies.set('login_user', data.data); | ||
| 236 | }, | ||
| 237 | error:function(){ | ||
| 238 | layer.alert("操作失败") | ||
| 239 | } | ||
| 240 | }) | ||
| 241 | </script> | ... | ... |
-
Please register or sign in to post a comment