ソースを参照

解决背景图片失效问题

zt 1 年間 前
コミット
ae121e6715
1 ファイル変更1 行追加0 行削除
  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: {