修正了城市配置
parent
306736c42f
commit
ab4ebe68fa
|
@ -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,
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue