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

This commit is contained in:
xiaoma
2021-08-09 16:16:16 +08:00
parent ade138997d
commit 0979b5af5d
9 changed files with 124 additions and 12 deletions

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);
}
);