Commit a311bae1 by lhc

fix: bug

parent 79de63e3
Showing with 9 additions and 2 deletions
......@@ -21,6 +21,7 @@ import { connect } from 'react-redux'
// import ChooseCardList from '../../common/listDataComponent/ChooseCardList';
import LoadingModel from '../../common/listDataComponent/LoadingModel'
import { Width } from '../../../base/BaseStyle'
import { show } from '../../../utils/Utils'
class SearchPage extends Component {
constructor(props) {
super(props)
......@@ -309,9 +310,14 @@ class SearchPage extends Component {
}),
}
// this.props.navigation.goBack()
this.setState({
this.setState(
{
topProcOptionList,
})
},
() => {
show('添加成功')
},
)
return Promise.resolve(topProcOptionList)
}
......@@ -359,6 +365,7 @@ class SearchPage extends Component {
listImgIcon={'photos'}
plusCallBack={item => {
console.log('plusCallBack')
setTopProcOptionListCallBack(this.formatToTopProcOptionList(item))
}}
// reduceCallBack={() => this.props.handleAllPlusReduce(item, index)}
......
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