Browse Source

fix: css backgroundurl is undefined

chenlei 2 years ago
parent
commit
a2d0f59bce
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vue.config.js

+ 1 - 0
vue.config.js

@@ -16,6 +16,7 @@ module.exports = defineConfig({
   transpileDependencies: true,
   pluginOptions: {
     electronBuilder: {
+      customFileProtocol: "./",
       builderOptions: {
         productName: "江苏省文旅厅",
         asar: false,