Browse Source

解决背景图片失效问题

zt 1 year ago
parent
commit
ae121e6715
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vue.config.js

+ 1 - 0
vue.config.js

@@ -30,6 +30,7 @@ module.exports = {
     // }
     pluginOptions: {
         electronBuilder: {
+            customFileProtocol: "./",
             nodeIntegration: true,
             externals: ['serialport'],
             builderOptions: {