Browse Source

fix: 设备运营主题 行政区-图表

zouooh 1 year ago
parent
commit
996b973d7c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      config/index.js
  2. 1 1
      src/router/index.js

+ 1 - 1
config/index.js

@@ -8,7 +8,7 @@ module.exports = {
8 8
   dev: {
9 9
     // Paths
10 10
     assetsSubDirectory: "static",
11
-    assetsPublicPath: "/",
11
+    assetsPublicPath: "/luohe_park",
12 12
 
13 13
     // Various Dev Server settings
14 14
     host: '0.0.0.0', // can be overwritten by process.env.HOST

+ 1 - 1
src/router/index.js

@@ -10,7 +10,7 @@ Vue.use(Router);
10 10
 
11 11
 export default new Router({
12 12
   mode: 'history',
13
-  baseUrl: '/luohe_park',
13
+  base: '/luohe_park',
14 14
   routes: [
15 15
     { path: "/", redirect: "/static_resource" },
16 16
     {