Commit 78aab35c by lhc Committed by peii

fix: bug

(cherry picked from commit 7345e6af)
parent 516ef509
Showing with 2 additions and 2 deletions
...@@ -225,7 +225,7 @@ class SearchPage extends Component { ...@@ -225,7 +225,7 @@ class SearchPage extends Component {
localSecondDataItem[LocalVariable.QUANTITY_FIELD] += 1 localSecondDataItem[LocalVariable.QUANTITY_FIELD] += 1
} else { } else {
// 如果找不到对应的产品 // 如果找不到对应的产品
const localSecondData = await this.createLocalSecondData(item) const localSecondData = await this.getLocalSecondData(item)
leftOptionListItem.localSecondData = localSecondData leftOptionListItem.localSecondData = localSecondData
console.log('localSecondDataItem', localSecondDataItem) console.log('localSecondDataItem', localSecondDataItem)
} }
...@@ -294,7 +294,7 @@ class SearchPage extends Component { ...@@ -294,7 +294,7 @@ class SearchPage extends Component {
tipTextOneTit={'通用名称'} tipTextOneTit={'通用名称'}
tipTextTwoTit={'规格型号'} tipTextTwoTit={'规格型号'}
listImgIcon={'photos'} listImgIcon={'photos'}
plusCallBack={(item, index) => { plusCallBack={item => {
setTopProcOptionListCallBack(this.formatToTopProcOptionList(item)) setTopProcOptionListCallBack(this.formatToTopProcOptionList(item))
}} }}
// 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