fix:修复无法编辑文章的BUG

This commit is contained in:
lifei6671 2018-08-23 18:33:13 +08:00
parent 100db87c6d
commit f953710578

View File

@ -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");