Ver código fonte

发版测试full的登录

zhulizhen1111 4 anos atrás
pai
commit
cf0adc9d11
2 arquivos alterados com 8 adições e 4 exclusões
  1. 6 3
      public/systemConf.js
  2. 2 1
      src/router/index.js

+ 6 - 3
public/systemConf.js

@@ -21,11 +21,14 @@
  */
 var __systemConf = {
     // 系统编码
-    systemCode: 'wandaBmGuide',
+    systemCode: "wandaBmGuide",
     conf: {
         // 阿里云
-        editerUrl: 'http://60.205.177.43:80/wandaEditer/', // 编辑器地址
-        wandaBmGuideUrl: 'http://60.205.177.43:80/wandaBmGuide/', //管理书地址
+        // editerUrl: "http://60.205.177.43:80/wandaEditer/", // 编辑器地址
+        // wandaBmGuideUrl: "http://60.205.177.43:80/wandaBmGuide/", //管理书地址
+        // http://glsms.wanda-dev.cn/ 测试服
+        editerUrl: "http://glsms.wanda-dev.cn/wandaEditer/", // 编辑器地址
+        wandaBmGuideUrl: "http://glsms.wanda-dev.cn/wandaBmGuide/", //管理书地址
     },
 }
 window.__systemConf = __systemConf

+ 2 - 1
src/router/index.js

@@ -69,7 +69,8 @@ const router = new VueRouter({
     base: process.env.BASE_URL,
     routes,
 })
-const ignore = ["/404"]
+//不需要token的路由
+const ignore = ["/404", "/legendLibrary", "/legendRules"]
 router.beforeEach(async (to, from, next) => {
     if (!ignore.includes(to.path)) {
         const token = query().token