mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 05:52:43 +08:00
升级插件代码
This commit is contained in:
parent
e654ebdaf9
commit
217445d3f0
@ -95,7 +95,7 @@ class Login extends Controller
|
||||
$user->hidden(['sort', 'status', 'password', 'is_deleted']);
|
||||
$this->app->session->set('user', $user->toArray());
|
||||
$this->app->session->delete('LoginInputSessionError');
|
||||
$user->inc('login_num')->update([
|
||||
$user->inc('login_num')->save([
|
||||
'login_at' => date('Y-m-d H:i:s'),
|
||||
'login_ip' => $this->app->request->ip(),
|
||||
]);
|
||||
|
@ -1005,7 +1005,7 @@ $(function () {
|
||||
});
|
||||
|
||||
/*! 注册 data-tips-hover 事件行为 */
|
||||
$.base.onEvent('mouseenter', '[data-tips-image][data-tips-hover]', function () {
|
||||
$.base.onEvent('mouseenter', '[data-tips-image][data-tips-hover],[data-tips-image-hover]', function () {
|
||||
let $el = $(this), img = new Image();
|
||||
if ((img.src = this.dataset.tipsImage || this.dataset.lazySrc || this.src || this.value)) {
|
||||
img.layopt = {anim: 5, tips: 3, time: 0, skin: 'layui-layer-image', isOutAnim: false, scrollbar: false};
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user