升级插件代码

This commit is contained in:
邹景立 2024-07-02 11:45:37 +08:00
parent e654ebdaf9
commit 217445d3f0
4 changed files with 4 additions and 4 deletions

View File

@ -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(),
]);

View File

@ -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