修改路由
This commit is contained in:
parent
3ec10515fb
commit
485432acfb
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$router->get('/', '\catchAdmin\index\controller\index@index');
|
$router->get('/', '\catchAdmin\index\controller\Index@index');
|
||||||
$router->get('theme', '\catchAdmin\index\controller\index@theme');
|
$router->get('theme', '\catchAdmin\index\controller\Index@theme');
|
||||||
$router->get('dashboard', '\catchAdmin\index\controller\index@dashboard');
|
$router->get('dashboard', '\catchAdmin\index\controller\Index@dashboard');
|
||||||
|
@ -49,14 +49,14 @@
|
|||||||
</a>
|
</a>
|
||||||
<dl class="layui-nav-child">
|
<dl class="layui-nav-child">
|
||||||
<dd lay-unselect>
|
<dd lay-unselect>
|
||||||
<a ew-href="page/template/user-info.html">个人中心</a>
|
<a ew-href="javascript:;">个人中心</a>
|
||||||
</dd>
|
</dd>
|
||||||
<dd lay-unselect>
|
<dd lay-unselect>
|
||||||
<a ew-event="psw">修改密码</a>
|
<a ew-event="psw">修改密码</a>
|
||||||
</dd>
|
</dd>
|
||||||
<hr>
|
<hr>
|
||||||
<dd lay-unselect>
|
<dd lay-unselect>
|
||||||
<a ew-event="logout" data-url="{:url('logout')}">退出</a>
|
<a ew-event="logouts" data-url="{:url('logout')}">退出</a>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
@ -127,7 +127,9 @@
|
|||||||
menuPath: '{:url("dashboard")}',
|
menuPath: '{:url("dashboard")}',
|
||||||
menuName: '<i class="layui-icon layui-icon-home"></i>'
|
menuName: '<i class="layui-icon layui-icon-home"></i>'
|
||||||
});
|
});
|
||||||
|
window.logouts= function(){
|
||||||
|
layer.msg('弹窗被成功打开了');
|
||||||
|
};
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user