chore(工具箱): 调整页面路由生成逻辑,不跳过未启用的工具
This commit is contained in:
@@ -267,10 +267,10 @@ export function getToolboxRoutes() {
|
|||||||
toolList.forEach((categoryItem) => {
|
toolList.forEach((categoryItem) => {
|
||||||
categoryItem.items.forEach((toolItem) => {
|
categoryItem.items.forEach((toolItem) => {
|
||||||
|
|
||||||
// 跳过未启用的工具
|
// // 跳过未启用的工具
|
||||||
if (!toolItem.enabled) {
|
// if (!toolItem.enabled) {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
routes.push({
|
routes.push({
|
||||||
path: `/toolbox-view/${toolItem.id}`,
|
path: `/toolbox-view/${toolItem.id}`,
|
||||||
|
Reference in New Issue
Block a user