edfffcb8 by Zelig

删除多余代码

1 parent d671b463
...@@ -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>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!