mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 19:42:47 +08:00
增加js的事件处理;增加忘记密码的js替换事件;发布新版本;
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
<span class="icon-nocheck"></span>
|
||||
<span class="login-tip">保持登录</span>
|
||||
{:event_view_replace('<a href="javascript:" class="forget-password">忘记密码?</a>','AdminLoginForget')}
|
||||
{:event_view_replace_js('AdminLoginForget')}
|
||||
|
||||
</div>
|
||||
<div class="layui-form-item" style="text-align:center; width:100%;height:100%;margin:0px;">
|
||||
|
||||
@@ -38,8 +38,11 @@ $(function () {
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$('.forget-password').click(function () {
|
||||
layer.msg('可以使用重置密码命令设置:<br/>php think admin:reset:password<br><a target="_blank" href="http://doc.ulthon.com/home/read/ulthon_admin/reset_password/15/16.html"> 参考文档</a>');
|
||||
ua.triggerEventReplaceJs('AdminLoginForget', () => {
|
||||
$('.forget-password').click(function () {
|
||||
layer.msg('可以使用重置密码命令设置:<br/>php think admin:reset:password<br><a target="_blank" href="http://doc.ulthon.com/home/read/ulthon_admin/reset_password/15/16.html"> 参考文档</a>');
|
||||
});
|
||||
}, (code) => {
|
||||
eval(code);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user