mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-12 01:02:27 +08:00
新增:Form组件支持响应式配置,路由支持外部地址(内联)
This commit is contained in:
@@ -104,7 +104,6 @@
|
||||
const matched = currentRoute.matched;
|
||||
state.openKeys = matched.map((item) => item.name);
|
||||
const activeMenu: string = (currentRoute.meta?.activeMenu as string) || '';
|
||||
console.log(currentRoute);
|
||||
selectedKeys.value = activeMenu ? (activeMenu as string) : (currentRoute.name as string);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user