麵包屑功能完善
This commit is contained in:
3
resources/js/Pages/Vendor/Index.tsx
vendored
3
resources/js/Pages/Vendor/Index.tsx
vendored
@@ -7,6 +7,7 @@ import VendorDialog from "@/Components/Vendor/VendorDialog";
|
||||
import AuthenticatedLayout from "@/Layouts/AuthenticatedLayout";
|
||||
import { Head, router } from "@inertiajs/react";
|
||||
import { debounce } from "lodash";
|
||||
import { getBreadcrumbs } from "@/utils/breadcrumb";
|
||||
|
||||
export interface Vendor {
|
||||
id: number;
|
||||
@@ -124,7 +125,7 @@ export default function VendorManagement({ vendors, filters }: PageProps) {
|
||||
};
|
||||
|
||||
return (
|
||||
<AuthenticatedLayout>
|
||||
<AuthenticatedLayout breadcrumbs={getBreadcrumbs("vendors")}>
|
||||
<Head title="廠商資料管理" />
|
||||
<div className="container mx-auto p-6 max-w-7xl">
|
||||
{/* Header */}
|
||||
|
||||
Reference in New Issue
Block a user