瀏覽代碼

fix(export): 修复导出PDF时CDN配置不生效问题 (#1529)

玖涯 1 年之前
父節點
當前提交
8763b61b9d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/ts/export/index.ts

+ 1 - 0
src/ts/export/index.ts

@@ -34,6 +34,7 @@ window.addEventListener("message", (e) => {
     return;
   }
   Vditor.preview(document.getElementById('preview'), e.data, {
+    cdn: "${vditor.options.cdn}",
     markdown: {
       theme: "${vditor.options.preview.theme}"
     },