mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update admin.js
This commit is contained in:
parent
ba998bdb4b
commit
075c00fbf7
@ -1088,8 +1088,8 @@ $(function () {
|
||||
$.previewPhonePage(this.dataset.phoneView || this.href);
|
||||
});
|
||||
|
||||
/*! 注册 data-event-submit 事件行为 */
|
||||
onEvent('click', '[data-event-submit]', function () {
|
||||
/*! 注册 data-target-submit 事件行为 */
|
||||
onEvent('click', '[data-target-submit]', function () {
|
||||
$(this.dataset.eventSubmit || this).submit();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user