|
@@ -24,9 +24,10 @@ class indexMore extends Component<Props> {
|
|
|
onLoad(opt: { title: string, dataName: string }) {
|
|
|
let { indexStore } = this.props.store
|
|
|
let { title, dataName } = opt
|
|
|
+ console.log(indexStore[dataName])
|
|
|
this.setState({
|
|
|
title,
|
|
|
- data: indexStore[dataName]
|
|
|
+ data: indexStore[dataName]?.longBookInfoAppVOS || indexStore[dataName]?.shortBookInfoAppVOS
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -45,7 +46,6 @@ class indexMore extends Component<Props> {
|
|
|
</View>
|
|
|
</View>
|
|
|
}, { title, isToBack: true })
|
|
|
- console.log(Page)
|
|
|
return <Page />
|
|
|
}
|
|
|
}
|