文档服务地址: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 { ...@@ -45,7 +45,7 @@ export default {
login () { login () {
this.$router.push('/index').catch(data => {}) this.$router.push('/index').catch(data => {})
}, },
register(){ register () {
this.$router.push('/index').catch(data => {}) this.$router.push('/index').catch(data => {})
} }
} }
......
...@@ -13,13 +13,13 @@ Vue.use(Router) ...@@ -13,13 +13,13 @@ Vue.use(Router)
export default new Router({ export default new Router({
routes: [ routes: [
{ {
path: '/', path: '/index',
name: 'index', name: 'index',
redirect: '/taskhall', redirect: '/taskhall',
component: Index, component: Index,
children: [ children: [
{ {
path: 'taskhall', path: '/taskhall',
name: 'taskhall', name: 'taskhall',
component: 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