diff --git a/src/common/SmartBreadcrumb.tsx b/src/common/SmartBreadcrumb.tsx index a46c454..aa0202c 100644 --- a/src/common/SmartBreadcrumb.tsx +++ b/src/common/SmartBreadcrumb.tsx @@ -270,12 +270,12 @@ export default function SmartBreadcrumb(props: Props) { if (prependPaths) pathnames.unshift(...prependPaths) - console.log(pathnames) + //console.log(pathnames) pathnames.forEach((_value: any, index: any) => { const lastPath = index === pathnames.length - 1; - console.log(lastPath) + //console.log(lastPath) const to = `/${pathnames.slice(0, index + 1).join("/")}`; let label = breadcrumbMap[to]; diff --git a/src/pages/DeviceComponent.tsx b/src/pages/DeviceComponent.tsx index 9bff22a..117d8b7 100644 --- a/src/pages/DeviceComponent.tsx +++ b/src/pages/DeviceComponent.tsx @@ -120,7 +120,7 @@ export default function DeviceComponent() { getDefaultInteraction() ); const [pageSize, setPageSize] = useState(5); - const [page, setPage] = useState(1) + const [page, setPage] = useState(0) const [order, setOrder] = useState("desc") const [rows, setRows] = useState([]) const [total, setTotal] = useState(0)