mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-07-17 05:36:13 +08:00
优化定时自动提交
This commit is contained in:
parent
f482a8ec9e
commit
5b30d5d880
@ -55,6 +55,7 @@ layui.use(['jquery'], function () {
|
||||
*/
|
||||
setInterval(function () {
|
||||
editor.sync();
|
||||
if (!$form.attr('action').includes('update')) return;
|
||||
if ($textarea.val().length > 30) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
|
@ -53,6 +53,7 @@ layui.use(['jquery'], function () {
|
||||
*/
|
||||
setInterval(function () {
|
||||
editor.sync();
|
||||
if (!$form.attr('action').includes('update')) return;
|
||||
if ($textarea.val().length > 30) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
|
Loading…
x
Reference in New Issue
Block a user