Commit 8ef0c5aa by lhc

fix: bug

parent e09dbcef
Showing with 3 additions and 8 deletions
...@@ -38,7 +38,7 @@ class SearchPage extends Component { ...@@ -38,7 +38,7 @@ class SearchPage extends Component {
cate_local_icon: require('../../../images/auxili_tool.png'), cate_local_icon: require('../../../images/auxili_tool.png'),
}, },
], ],
searchValue: '金属脊柱', searchValue: '',
dataList: [], dataList: [],
topActiveIndex: 0, topActiveIndex: 0,
} }
...@@ -65,7 +65,7 @@ class SearchPage extends Component { ...@@ -65,7 +65,7 @@ class SearchPage extends Component {
manufacturerCode: topProcOptionList[topActiveIndex].supplier_code, manufacturerCode: topProcOptionList[topActiveIndex].supplier_code,
productLineCategory, productLineCategory,
keyword: encodeURIComponent(searchValue), keyword: encodeURIComponent(searchValue),
// pageSize: 9999, pageSize: 9999,
} }
this.refs.LoadingModel.show() this.refs.LoadingModel.show()
const single_all_search = await reqGlobalSearch(global_domain_config, JSON.parse(JSON.stringify(params))) const single_all_search = await reqGlobalSearch(global_domain_config, JSON.parse(JSON.stringify(params)))
...@@ -295,12 +295,7 @@ class SearchPage extends Component { ...@@ -295,12 +295,7 @@ class SearchPage extends Component {
tipTextTwoTit={'规格型号'} tipTextTwoTit={'规格型号'}
listImgIcon={'photos'} listImgIcon={'photos'}
plusCallBack={(item, index) => { plusCallBack={(item, index) => {
setTopProcOptionListCallBack( setTopProcOptionListCallBack(this.formatToTopProcOptionList(item))
this.formatToTopProcOptionList(item).then(data => {
this.props.navigation.goBack()
return Promise.resolve(data)
}),
)
}} }}
// reduceCallBack={() => this.props.handleAllPlusReduce(item, index)} // 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