feat: set a url parameter to activate tab index (#107)

This commit is contained in:
Fine0830
2022-06-14 17:01:11 +08:00
committed by GitHub
parent 0828f8a7aa
commit b697fe4713
13 changed files with 270 additions and 32 deletions

View File

@@ -55,9 +55,9 @@ limitations under the License. -->
<router-link
class="items"
:to="m.path"
:exact="m.meta.exact || false"
:exact="(m.meta && m.meta.exact) || false"
>
<span class="title">{{ t(m.meta.title) }}</span>
<span class="title">{{ m.meta && t(m.meta.title) }}</span>
</router-link>
</el-menu-item>
</el-menu-item-group>