Commit 9c89a25c by Confettis

fix: 刷卡器触发两次键盘事件

parent 7b025397
......@@ -127,6 +127,7 @@ const CounterMixins = ComposeComponent => {
handleCard = async cardId => {
Toast.hide();
if (!cardId) return;
Toast.loading('正在付款,请稍后~');
const {ids, noBarcode} = this.getGoods();
this.props
......@@ -137,7 +138,6 @@ const CounterMixins = ComposeComponent => {
cardId,
})
.then(async ({data}) => {
console.log(data);
if (data.code === 1) {
this.orderId = data.data.orderId;
await this.successPay(true);
......
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