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 <[email protected]> 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;
