Commit 7345e6af by lhc

fix: bug

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