btgxq-dashuju/src/router/index.js

50 lines
950 B
JavaScript
Raw Normal View History

2023-08-08 16:15:54 +08:00
import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import ddzhxt from '@/pages/ddzhxt/ddzhxts.vue'
import zhdjxt from '@/pages/zhdjxt/zhdjxts.vue'
import jcxxxt from '@/pages/jcxxxt/jcxxxts.vue'
import detailDitu from '@/components/ddzhxt/detail-ditu.vue'
2024-04-22 11:16:09 +08:00
Router.prototype.openUrl = function (url, type) {
window.open(url, !type ? '_self' : type)
2024-02-01 16:15:38 +08:00
}
2023-08-08 16:15:54 +08:00
Vue.use(Router)
export default new Router({
2024-04-22 11:16:09 +08:00
routes: [{
path: '/',
name: 'ddzhxt',
component: ddzhxt
// meta:{
// title:'ddzhxt'
// }
},
{
path: '/zhdjxt',
name: 'zhdjxt',
component: zhdjxt
// meta:{
// title:'zhdjxt'
// }
},
{
path: '/jcxxxt',
name: 'jcxxxt',
component: jcxxxt
// meta:{
// title:'jcxxxt'
// }
},
{
path: '/detailDitu',
name: 'detailDitu',
component: detailDitu
// meta:{
// title:'jcxxxt'
// }
}
]
})