生产管理系统 nextjs标准化改造
This commit is contained in:
@@ -234,7 +234,7 @@ export class NetworkLogService {
|
||||
]
|
||||
|
||||
// 应用筛选器
|
||||
let filteredLogs = mockLogs.filter(log => {
|
||||
const filteredLogs = mockLogs.filter(log => {
|
||||
if (params.filters?.searchKeyword) {
|
||||
const keyword = params.filters.searchKeyword.toLowerCase()
|
||||
if (!log.url.toLowerCase().includes(keyword) &&
|
||||
|
||||
@@ -266,7 +266,7 @@ export default function MenuManagementPage() {
|
||||
|
||||
const expandAll = () => {
|
||||
const getAllMenuIds = (menus: Menu[]): string[] => {
|
||||
let ids: string[] = [];
|
||||
const ids: string[] = [];
|
||||
menus.forEach(menu => {
|
||||
if (menu.children && menu.children.length > 0) {
|
||||
ids.push(menu.id);
|
||||
|
||||
Reference in New Issue
Block a user