From 3dfe8a2b52c31864ca8d0b85d10fdf80b05217bf Mon Sep 17 00:00:00 2001 From: Eamon <17516219072@163.com> Date: Mon, 29 Jun 2026 17:44:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=AE=A1=E5=88=97=E8=A1=A8=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(root)/_navigation/index.tsx | 1 - src/app/(root)/gateway/page.tsx | 78 ++++++++++++++++++---------- src/app/(root)/trade/page.tsx | 5 +- 3 files changed, 54 insertions(+), 30 deletions(-) diff --git a/src/app/(root)/_navigation/index.tsx b/src/app/(root)/_navigation/index.tsx index 7c564be..ce3d072 100644 --- a/src/app/(root)/_navigation/index.tsx +++ b/src/app/(root)/_navigation/index.tsx @@ -1,7 +1,6 @@ "use client" import { Activity, - BarChart3, ChevronsLeft, ChevronsRight, CircleDollarSign, diff --git a/src/app/(root)/gateway/page.tsx b/src/app/(root)/gateway/page.tsx index 66de8d6..c35b2e3 100644 --- a/src/app/(root)/gateway/page.tsx +++ b/src/app/(root)/gateway/page.tsx @@ -14,6 +14,12 @@ import { Auth } from "@/components/auth" import { DataTable, useDataTable } from "@/components/data-table" import { Page } from "@/components/page" import { Button } from "@/components/ui/button" +import { + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuTrigger, +} from "@/components/ui/dropdown-menu" import { ScopeChannelWriteClearExpired, ScopeProxyWrite } from "@/lib/scopes" import type { Gateway } from "@/models/gateway" import CreatePage from "./create" @@ -168,34 +174,52 @@ export default function GatewayPage() { id: "action", meta: { pin: "right" }, header: "操作", - cell: ({ row }) => ( -