You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/10/21 08:18:33 UTC
[apisix-dashboard] 02/03: feat(Route): use id as rowkey
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch feat-improvement
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
commit 3b644730d4d2918ece073c6f364ac29e62713903
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Wed Oct 21 15:56:18 2020 +0800
feat(Route): use id as rowkey
---
src/pages/Route/List.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/Route/List.tsx b/src/pages/Route/List.tsx
index aaf9825..1f28653 100644
--- a/src/pages/Route/List.tsx
+++ b/src/pages/Route/List.tsx
@@ -113,7 +113,7 @@ const Page: React.FC = () => {
>
<ProTable<RouteModule.ResponseBody>
actionRef={ref}
- rowKey="name"
+ rowKey="id"
columns={columns}
request={fetchList}
toolBarRender={() => [