refs #1285 Fix highlighted account icon

This commit is contained in:
AkiraFukushima 2020-09-21 19:05:47 +09:00
parent d2fb794876
commit 8be6ac7f75
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
role="menubar"
>
<el-menu-item
:index="`/${account._id}/home`"
:index="`/${account._id}/`"
:route="{ path: `/${account._id}/home` }"
v-for="(account, index) in accounts"
v-bind:key="account._id"
@ -58,7 +58,7 @@ export default {
},
methods: {
activeRoute() {
return this.$route.path
return `/${this.$route.path.split('/')[1]}/`
},
async initialize() {
await this.$store