common.js 364 B

12
  1. /** layuiAdmin.std-v1.1.0 LPPL License By http://www.layui.com/admin/ */
  2. ;layui.define(function(e){var i=(layui.$,layui.layer,layui.laytpl,layui.setter,layui.view,layui.admin);i.events.logout=function(){i.req({url:layui.setter.base+"json/user/logout.js",type:"get",data:{},done:function(e){i.exit(function(){location.href="user/login.html"})}})},e("common",{})});