修正了城市配置

main
白封羽 2023-01-06 15:45:02 +08:00
parent 306736c42f
commit ab4ebe68fa
1 changed files with 1 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class CityConfig extends React.Component<any, any> {
} }
update = () => { update = () => {
axiosInstance.get("common/place").then((res) => { 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() this.actionRef.current?.reload()
}) })
} }
@ -96,7 +96,6 @@ class CityConfig extends React.Component<any, any> {
actionRef={this.actionRef} actionRef={this.actionRef}
rowKey="id" rowKey="id"
headerTitle="城市信息配置" headerTitle="城市信息配置"
maxLength={5}
scroll={{ scroll={{
x: 960, x: 960,
}} }}