From ea3da4e1382fbec1567a6afe02f5581efe2dcefb Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Mon, 13 Jul 2026 23:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=8E=92=E5=BA=8F=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=8D=87=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- src/routes/sectors.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/sectors.tsx b/src/routes/sectors.tsx index 1c5a99c..0a29e64 100644 --- a/src/routes/sectors.tsx +++ b/src/routes/sectors.tsx @@ -42,7 +42,7 @@ function SectorsPage() { const queryClient = useQueryClient(); const [tab, setTab] = useState("industry"); const [sortKey, setSortKey] = useState("mainNetInflow"); - const [asc, setAsc] = useState(false); // 默认降序 + const [asc, setAsc] = useState(true); // 默认升序 // ── 行业 / 概念各自独立 Query,缓存完全隔离 ── const industryQ = useQuery({ @@ -102,7 +102,7 @@ function SectorsPage() { setAsc((v) => !v); } else { setSortKey(key); - setAsc(false); // 切新维度默认降序 + setAsc(true); // 切新维度默认升序 } };