提交 ceb7d007 编写于 作者: L LY

fix: 修复 H5任意门 扫描二维码识别成功同时打开多个浏览器页面的问题

上级 2badfc7c
......@@ -284,6 +284,10 @@ static NSString *const scanLineAnimationName = @"scanLineAnimation";
if (metadataObjects.count == 0) {
return;
}
// 停止扫描
[self stopScanning];
NSString *result = [metadataObjects.firstObject stringValue];
if ([self.delegate respondsToSelector:@selector(scanView:pickUpMessage:)]) {
[self.delegate scanView:self pickUpMessage:result];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册