From ab4ebe68fa0e96b9698b7475d454d1b2c50c7cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=B0=81=E7=BE=BD?= <2360164671@qq.com> Date: Fri, 6 Jan 2023 15:45:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E5=9F=8E=E5=B8=82?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/configuration/subpage/CityConfig.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/configuration/subpage/CityConfig.tsx b/src/pages/configuration/subpage/CityConfig.tsx index 3ea1ecb..0c323d3 100644 --- a/src/pages/configuration/subpage/CityConfig.tsx +++ b/src/pages/configuration/subpage/CityConfig.tsx @@ -58,7 +58,7 @@ class CityConfig extends React.Component { } update = () => { axiosInstance.get("common/place").then((res) => { - this.setState({tableData: this.convertor(res.data)}) + this.setState({tableData: this.convertor(res.data),selectedRowKeys: []}) this.actionRef.current?.reload() }) } @@ -96,7 +96,6 @@ class CityConfig extends React.Component { actionRef={this.actionRef} rowKey="id" headerTitle="城市信息配置" - maxLength={5} scroll={{ x: 960, }}