mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-03-01 00:23:11 +08:00
新增:Form组件支持响应式配置,路由支持外部地址(内联)
This commit is contained in:
1 parent
ade138997d
commit
0979b5af5d
9 files changed
+124
-12
No files matched your search
@@ -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