瀏覽代碼

修改api和跳转路径

ming 3 年之前
父節點
當前提交
8a82c5c011
共有 6 個文件被更改,包括 5 次插入6 次删除
  1. 二進制
      dist.zip
  2. 二進制
      dist2.zip
  3. 2 3
      public/static/config.js
  4. 1 1
      src/main.js
  5. 1 1
      src/utils/request.js
  6. 1 1
      src/views/index.vue

二進制
dist.zip


二進制
dist2.zip


+ 2 - 3
public/static/config.js

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

+ 1 - 1
src/main.js

@@ -61,7 +61,7 @@ router.beforeEach((to, from, next) => {
             // 本地存储的accessToken不存在时,跳转至后台登录页
             // alert('本地存储的accessToken不存在')
 
-            window.location.href = 'https://wx.ewoogi.com/adminfiv/#/login'
+            window.location.href = 'https://wx.ewoogi.com/manage/#/login'
 
 
             // next({ path: '/' })

+ 1 - 1
src/utils/request.js

@@ -28,7 +28,7 @@ const handleCode = (code, msg) => {
             // })
             router
             // router.replace({ path: "/" });
-            window.location.href = 'https://wx.ewoogi.com/adminfiv/#/login'
+            window.location.href = 'https://wx.ewoogi.com/manage/#/login'
 
             removeToken()
             return;

+ 1 - 1
src/views/index.vue

@@ -14,7 +14,7 @@
           <span>{{ route.meta.title }}</span>
         </router-link>
         <a
-          :href="'https://wx.ewoogi.com/adminfiv/#/'"
+          :href="'https://wx.ewoogi.com/manage/#/'"
           class="router-left router_left1"
           >后台管理</a
         >