保存11.9

This commit is contained in:
chengdandan 2022-11-09 17:36:57 +08:00
parent dd493fdf40
commit 8918f1d581
3 changed files with 36 additions and 14339 deletions

14356
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,21 +1,28 @@
import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
Vue.use(Router)
const originalPush = Router.prototype.push
Router.prototype.push = function push (location) {
return originalPush.call(this, location).catch(err => err)
}
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '/',
redirect:'/home',
path: '/',
redirect:'/index',
},
{
path: '/home',
name: 'home',
component: () => import ('./views/Home.vue')
path: '/index',
name: 'index',
component: () => import ('./views/index.vue')
},
{
path: '/stationBuilding',