Commit 41e35dae by 黄日华

收银机扫商品偶尔不播报问题修复

parent 6bcb1f25
......@@ -856,14 +856,14 @@ const CounterMixins = ComposeComponent => {
goodsArr.push({...dataReal});
}
const current = Math.ceil(goodsArr.length / window.pageSize);
Speech.speak('共' + totalNum + '件商品');
clearInterval(this.nobodyInter);
this.setState({
// clearInterval(this.nobodyInter);
await this.setState({
current,
goodsArr,
modalS: false,
nobodyInter: false,
});
this.goodsChangeSpeak(goodsArr);
Toast.hide();
} else if (data.code === 1 && price <= 0) {
Toast.info('商品价格异常,请联系客服人员处理', 2);
......
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 to comment