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, }}