@@ -8,24 +8,24 @@ import main from "../components/HelloWorld";
export default new VueRouter({
mode: 'history',
routes: [
+ // {
+ // path: '/',
+ // component: main,
+ // meta: {
+ // type:'',
+ // title: '监控'
+ // },
+ // path: '/:id',
{
- path: '/',
- component: main,
- meta: {
- type:'',
- title: '监控'
- },
- {
- path: '/:id',
- path: '/main/',
+ path: '/main',
component: main,
meta: {
type:'',