소스 검색

解决背景图片失效问题

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