Compare commits

...

3 Commits

Author SHA1 Message Date
chengdandan 4f4f1fe422 保存11.10 2022-11-10 09:36:18 +08:00
chengdandan 2249c55986 Merge branch 'master' of http://git.lgzn.space/huajimang/yanDuLargeScreen 2022-11-09 17:37:02 +08:00
chengdandan 8918f1d581 保存11.9 2022-11-09 17:36:57 +08:00
4 changed files with 37 additions and 14338 deletions

14356
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -3,18 +3,26 @@ import Router from 'vue-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({
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',