'页面优化'
This commit is contained in:
+22
-10
@@ -6,7 +6,7 @@ const routes = [
|
||||
{
|
||||
path: "/",
|
||||
component: () => import("../views/home.vue"),
|
||||
redirect:'home'
|
||||
redirect: 'home'
|
||||
},
|
||||
{
|
||||
path: "/home",
|
||||
@@ -16,17 +16,29 @@ const routes = [
|
||||
|
||||
},
|
||||
{
|
||||
path:"/room",
|
||||
name:"Room",
|
||||
component:()=>import("../views/room.vue"),
|
||||
meta:{title:"房间"}
|
||||
path: "/room",
|
||||
name: "Room",
|
||||
component: () => import("../views/room.vue"),
|
||||
meta: { title: "房间" }
|
||||
},
|
||||
{
|
||||
path:"/onlyOffice",
|
||||
name:"onlyOffice",
|
||||
component:()=>import("../views/onlyOffice.vue"),
|
||||
meta:{title:"在线文档"}
|
||||
}
|
||||
path: "/onlyOffice",
|
||||
name: "onlyOffice",
|
||||
component: () => import("../views/onlyOffice.vue"),
|
||||
meta: { title: "在线文档" }
|
||||
},
|
||||
{
|
||||
path: "/test",
|
||||
name: "test",
|
||||
component: () => import("../views/test.vue"),
|
||||
meta: { title: "test" }
|
||||
},
|
||||
{
|
||||
path: "/testRoom",
|
||||
name: "testRoom",
|
||||
component: () => import("../views/testRoom.vue"),
|
||||
meta: { title: "testRoom" }
|
||||
}
|
||||
]
|
||||
|
||||
const router = new VueRouter({
|
||||
|
||||
Reference in New Issue
Block a user