Browse Source

万达管理书,路由 回退为基础路由

yunxing 4 năm trước cách đây
mục cha
commit
ef10cbfb66
3 tập tin đã thay đổi với 4 bổ sung12 xóa
  1. 2 2
      public/systemConf.js
  2. 1 9
      src/router/index.js
  3. 1 1
      vue.config.js

+ 2 - 2
public/systemConf.js

@@ -25,8 +25,8 @@ var __systemConf = {
     conf: {
         // 阿里云
         editerUrl: 'http://60.205.177.43:80/wandaEditer/', // 编辑器地址
-        // wandaBmGuideUrl: 'http://60.205.177.43:80/wandaBmGuide/', //管理书地址
-        wandaBmGuideUrl: 'http://192.168.200.100:8090/wandaBmGuide/', //管理书地址
+        wandaBmGuideUrl: 'http://60.205.177.43:80/wandaBmGuide/', //管理书地址
+        // wandaBmGuideUrl: 'http://192.168.200.100:8090/wandaBmGuide/', //管理书地址
     },
 }
 window.__systemConf = __systemConf

+ 1 - 9
src/router/index.js

@@ -7,15 +7,7 @@ const routes = [
     // 登陆页面
     {
         path: '/',
-        // redirect: '/home/overview',
-        component: () => import('../views/index'),
-        children: [
-            //概览
-            {
-                path: '/',
-                component: () => import('../views/overview'),
-            },
-        ],
+        redirect: '/home/overview',
     },
     // home
     {

+ 1 - 1
vue.config.js

@@ -54,7 +54,7 @@ module.exports = {
             .loader('vue-svg-loader')
     },
     lintOnSave: false,
-    publicPath: '/',
+    publicPath: '/wandaBmGuide',
     // 打包名称
     outputDir: 'wandaBmGuide',
     // 放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录