mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 19:07:56 +08:00
fix:优化文档缓存策略,实现根据文档版本缓存
2、优化加载Markdown编辑器插件策略解决重复触发load方法BUG
This commit is contained in:
@@ -42,8 +42,9 @@ $(function () {
|
||||
};
|
||||
this.addKeyMap(keyMap);
|
||||
|
||||
|
||||
console.log("加载完成")
|
||||
uploadImage("docEditor", function ($state, $res) {
|
||||
console.log("注册上传图片")
|
||||
if ($state === "before") {
|
||||
return layer.load(1, {
|
||||
shade: [0.1, '#fff'] // 0.1 透明度的白色背景
|
||||
|
Reference in New Issue
Block a user