mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
fix:修复无法编辑文章的BUG
This commit is contained in:
parent
100db87c6d
commit
f953710578
@ -427,7 +427,7 @@ $(function () {
|
||||
/**
|
||||
* 启动自动保存,默认30s自动保存一次
|
||||
*/
|
||||
if(window.book.auto_save){
|
||||
if(window.book && window.book.auto_save){
|
||||
setTimeout(function () {
|
||||
setInterval(function () {
|
||||
var $then = $("#markdown-save");
|
||||
|
Loading…
Reference in New Issue
Block a user