Kaynağa Gözat

修改打包路径

[plg137200.] 1 yıl önce
ebeveyn
işleme
d242997775

+ 4 - 4
src/main/index.js

@@ -58,11 +58,11 @@ let loadingWindow
 //设置访问路径
 //打包访问的路径
 
-// let serveUrl = "./resources/exe"
-// let serveUrlJar = '\\resources\\exe'
+let serveUrl = "./resources/exe"
+let serveUrlJar = '\\resources\\exe'
 //本地访问的路径
-let serveUrl = "./exe"
-let serveUrlJar = '\\exe'
+// let serveUrl = "./exe"
+// let serveUrlJar = '\\exe'
 /**
  * Set `__static` path to static files in production
  * https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-static-assets.html

+ 4 - 4
src/renderer/components/AnimationDes.vue

@@ -385,10 +385,10 @@ export default {
       focusNao: [],
       // 全量
       focusNaoAll: [],
-      urlThreeP: "../../../static/candle/index.html",
-      // urlThreeP: __static + "/candle/index.html",
-      pubSrc: "../../../static",
-      // pubsrc: __static,
+      // urlThreeP: "../../../static/candle/index.html",
+      urlThreeP: __static + "/candle/index.html",
+      // pubSrc: "../../../static",
+      pubsrc: __static,
       userLink: {
         num: "",
         mac: "",

+ 1 - 1
src/renderer/components/AnimationDouble.vue

@@ -687,7 +687,7 @@ export default {
     setTimeout(() => {
       that.changeGame(parseInt(that.$route.query.gameType));
       console.log(that.$route.query.gameType);
-    }, 2000);
+    }, 3000);
     that.singleFlag = that.$route.query.single;
     console.log(that.singleFlag);