Compare commits

..

No commits in common. "4f4f1fe42285d7964658681004ca5ebe0efecfb2" and "994d9b9ee016da3fa2a4a3e8a87621169d9bae2f" have entirely different histories.

4 changed files with 14338 additions and 37 deletions

14356
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,6 @@
</div> </div>
<div class="content"> <div class="content">
<router-view /> <router-view />
</div> </div>
</div> </div>
</template> </template>

View File

@ -3,26 +3,18 @@ import Router from 'vue-router'
Vue.use(Router) 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({ export default new Router({
mode: 'history', mode: 'history',
base: process.env.BASE_URL, base: process.env.BASE_URL,
routes: [ routes: [
{ {
path: '/', path: '/',
redirect:'/index', redirect:'/home',
}, },
{ {
path: '/index', path: '/home',
name: 'index', name: 'home',
component: () => import ('./views/index.vue') component: () => import ('./views/Home.vue')
}, },
{ {
path: '/stationBuilding', path: '/stationBuilding',