文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 7e4e4857 by Wang Yuhang

修正路由

parent a99bbab2
......@@ -45,7 +45,7 @@ export default {
login () {
this.$router.push('/index').catch(data => {})
},
register(){
register () {
this.$router.push('/index').catch(data => {})
}
}
......
......@@ -13,13 +13,13 @@ Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
path: '/index',
name: 'index',
redirect: '/taskhall',
component: Index,
children: [
{
path: 'taskhall',
path: '/taskhall',
name: 'taskhall',
component: TaskHall
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment