Commit 569f4545 by 穆启卓

我的比赛改比赛中

parent 560584ce
......@@ -59,7 +59,7 @@ router.beforeEach((to, from, next) => {
// location.replace('#/author')
}
} else if (to.name === 'MainPagePartakeChallenge' || to.name === 'MainPageHaveJoinedGame') {
// 处理tabbar去‘当前比赛’时,根据用户有没有参赛导向对应也页面
// 处理tabbar去‘比赛中’时,根据用户有没有参赛导向对应也页面
const userHaveJoinGame = sessionStorage.getItem('userHaveJoinGame');
if (userHaveJoinGame === 'true') {
if (to.name === 'MainPageHaveJoinedGame') {
......
......@@ -44,9 +44,9 @@
index1Name() {
const userHaveJoinGame = sessionStorage.getItem('userHaveJoinGame');
if (userHaveJoinGame === 'true') {
return '我的比赛';
return '比赛中';
} else {
return '当前比赛';
return '我的比赛';
}
}
}
......
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