1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-29 10:13:36 +01:00

refs #1285 Fix highlighted account icon

This commit is contained in:
AkiraFukushima 2020-09-21 19:05:47 +09:00
parent d2fb794876
commit 8be6ac7f75

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