瀏覽代碼

解决背景图片失效问题

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: {