This commit is contained in:
syuilo 2018-02-21 01:14:25 +09:00
parent e4120e930c
commit 49d257992f
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ init(async (launch) => {
}
app.$router.addRoutes([{
path: '/', component: MkIndex
path: '/', name: 'index', component: MkIndex
}, {
path: '/i/drive', component: MkDrive
}, {

View File

@ -2,7 +2,7 @@
<div class="nav">
<ul>
<template v-if="os.isSignedIn">
<li class="home" :class="{ active: page == 'home' }">
<li class="home" :class="{ active: $route.name == 'index' }">
<router-link to="/">
%fa:home%
<p>%i18n:desktop.tags.mk-ui-header-nav.home%</p>