Explorar el Código

fix: export as html issue

Peng Xiao hace 3 años
padre
commit
d8fe1b0b37
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      resources/js/preload.js

+ 2 - 1
resources/js/preload.js

@@ -83,11 +83,12 @@ contextBridge.exposeInMainWorld('apis', {
    *
    * @param {string} html html file with embedded state
    */
-  exportPublishAssets (html, customCSSPath, repoPath, assetFilenames, outputDir) {
+  exportPublishAssets (html, customCSSPath, exportCSSPath, repoPath, assetFilenames, outputDir) {
     ipcRenderer.invoke(
       'export-publish-assets',
       html,
       customCSSPath,
+      exportCSSPath,
       repoPath,
       assetFilenames,
       outputDir