Переглянути джерело

解决背景图片失效问题

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