From ec112f5ce69edb933e4914bbb9d8dbc34358d172 Mon Sep 17 00:00:00 2001 From: kimi <kimi42345@gmail.com> Date: 星期三, 22 一月 2020 16:28:10 +0800 Subject: [PATCH] 两个滚动 --- src/router/index.ts | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index c338d49..15898bd 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,6 +7,7 @@ import Overview from "../views/Overview.vue"; import list from "../views/list.vue"; import calendarTask from "../views/calendarTask.vue"; +import square from "../components/square.vue"; Vue.use(VueRouter); @@ -59,10 +60,10 @@ } }, { - path: "project2", - name: "project2", + path: "square", + name: "square", components:{ - home: Project + home: square } }, { -- Gitblit v1.8.0