chore(工具箱): 调整页面路由生成逻辑,不跳过未启用的工具

This commit is contained in:
2024-10-13 12:11:02 +08:00
parent 0310eee39e
commit 865ef1e383

View File

@@ -267,10 +267,10 @@ export function getToolboxRoutes() {
toolList.forEach((categoryItem) => {
categoryItem.items.forEach((toolItem) => {
// 跳过未启用的工具
if (!toolItem.enabled) {
return;
}
// // 跳过未启用的工具
// if (!toolItem.enabled) {
// return;
// }
routes.push({
path: `/toolbox-view/${toolItem.id}`,