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
0d2211197b
commit
1c8bceafa4
@ -499,7 +499,7 @@ $(function () {
|
|||||||
/* 触发表单提交后,锁定三秒不能再次提交表单 */
|
/* 触发表单提交后,锁定三秒不能再次提交表单 */
|
||||||
if (that.form.attr('submit-locked')) return false;
|
if (that.form.attr('submit-locked')) return false;
|
||||||
that.form.attr('submit-locked', 1), evt.button.addClass('submit-button-loading');
|
that.form.attr('submit-locked', 1), evt.button.addClass('submit-button-loading');
|
||||||
callable.call(this, that.form.formToJson()), setTimeout(function () {
|
callable.call(this, that.form.formToJson(), []), setTimeout(function () {
|
||||||
that.form.removeAttr('submit-locked'), evt.button.removeClass('submit-button-loading');
|
that.form.removeAttr('submit-locked'), evt.button.removeClass('submit-button-loading');
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user