ソースを参照

更改api和跳转路径

ming 3 年 前
コミット
1eee42f10b
2 ファイル変更4 行追加4 行削除
  1. 3 3
      public/static/config.js
  2. 1 1
      src/main.js

+ 3 - 3
public/static/config.js

@@ -7,9 +7,9 @@ var PLATFROM_CONFIG = {};
 // PLATFROM_CONFIG.images = "https://qhome.usky.cn/file/" //线上图片
 // PLATFROM_CONFIG.fileUrl = "https://qhome.usky.cn/file/" //xlsx文件访问路径
 
-PLATFROM_CONFIG.baseUrl = "http://wx.ewoogi.com:8010/" //线上
-PLATFROM_CONFIG.images = "http://wx.ewoogi.com:8010/file/" //线上图片
-PLATFROM_CONFIG.fileUrl = "http://wx.ewoogi.com:8010/file/" //xlsx文件访问路径
+PLATFROM_CONFIG.baseUrl = "https://wx.ewoogi.com/api/" //线上
+PLATFROM_CONFIG.images = "https://wx.ewoogi.com/file/" //线上图片
+PLATFROM_CONFIG.fileUrl = "https://wx.ewoogi.com/file/" //xlsx文件访问路径
 
 
 

+ 1 - 1
src/main.js

@@ -54,7 +54,7 @@ router.beforeEach((to) => {
         store.commit('publicDeviceList')
     }
     if (to.path == '/home') {
-        window.location.href = "https://wx.ewoogi.com/vuefiv/#/home";
+        window.location.href = "https://wx.ewoogi.com/panel/#/home";
         // window.location.href = "http://localhost:8081/vuefiv#/home";
     }
 })