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 2021/04/07 04:29:01 UTC
[apisix-dashboard] 01/03: fix: use any for unknown typing
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch chore-route
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
commit 100e38f68d8989eef96ab50d6757656becc3ed98
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Wed Apr 7 11:24:38 2021 +0800
fix: use any for unknown typing
---
web/src/pages/Route/List.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/src/pages/Route/List.tsx b/web/src/pages/Route/List.tsx
index a9c1ba5..26b5cac 100644
--- a/web/src/pages/Route/List.tsx
+++ b/web/src/pages/Route/List.tsx
@@ -97,7 +97,7 @@ const Page: React.FC = () => {
setPaginationConfig({ pageSize: Number(pageSize), current: Number(page) });
}, [window.location.search]);
- const rowSelection = {
+ const rowSelection: any = {
selectedRowKeys,
onChange: (currentSelectKeys: string[]) => {
setSelectedRowKeys(currentSelectKeys);
@@ -529,7 +529,7 @@ const Page: React.FC = () => {
}}
>
<Upload
- fileList={uploadFileList}
+ fileList={uploadFileList as any}
beforeUpload={(file) => {
setUploadFileList([file]);
return false;