Commit 1e03b136 by hank

show

parent 80c047c2
...@@ -57,7 +57,9 @@ class Films extends Component { ...@@ -57,7 +57,9 @@ class Films extends Component {
async componentWillMount() { async componentWillMount() {
this.getData() this.getData()
} }
componentDidShow() {
this.getData()
}
async getData() { async getData() {
this.props.getDeviceListData(this.page) this.props.getDeviceListData(this.page)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment