新增:Form组件支持响应式配置,路由支持外部地址(内联)

This commit is contained in:
xiaoma committed 2021-08-09 16:16:16 +08:00
1 parent ade138997d
commit 0979b5af5d
9 files changed
+124 -12

No files matched your search

-1
View File
@@ -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);
}
);