feat(route): add hidePathForChildren in meta

添加`hidePathForChildren`选项用于在子菜单中隐藏本级path
This commit is contained in:
无木
2021-07-02 00:30:48 +08:00
parent 72ac240f28
commit d52b0de83e
3 changed files with 5 additions and 5 deletions

View File

@@ -33,6 +33,9 @@ declare module 'vue-router' {
// Never show in menu
hideMenu?: boolean;
isLink?: boolean;
// only build for Menu
ignoreRoute?: boolean;
// Hide path for children
hidePathForChildren?: boolean;
}
}