Browse Source

路由二次修改

a1140836302 2 years ago
parent
commit
bbd7df44b0
6 changed files with 4 additions and 2 deletions
  1. 1 1
      .drone.yml
  2. 2 1
      .gitignore
  3. 0 0
      dist/index.html
  4. 0 0
      dist/static/js/app.501f5f37.js
  5. 0 0
      dist/static/js/chunk-2d230fe7.ecfd1d92.js
  6. 1 0
      src/router/index.js

+ 1 - 1
.drone.yml

@@ -13,7 +13,7 @@ steps:
         - ./node_modules
 
   - name: build
-    image: node:16.14
+    image: node:16.15
     commands:
       - npm config set registry https://registry.npm.taobao.org
       - npm install

+ 2 - 1
.gitignore

@@ -1 +1,2 @@
-/node_modules
+/node_modules
+/dist

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.501f5f37.js


+ 0 - 0
dist/static/js/chunk-2d230fe7.44195982.js → dist/static/js/chunk-2d230fe7.ecfd1d92.js


+ 1 - 0
src/router/index.js

@@ -6,6 +6,7 @@ Vue.use(Router)
 import Layout from '@/layout'
 
 export const constantRoutes = [
+  { path: '/', redirect: '/power-change-monitoring'},
   {
     path: '/redirect',
     component: Layout,

Some files were not shown because too many files changed in this diff