Skip to content

bug(BarcodeReader): 条码扫描组件第一次打开加载事件中只有一个摄像设备,切换页面后才会加载出所有设备 #3869

@Linlccc

Description

@Linlccc

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

有两个页面,两个页面都有使用BarcodeReader组件,第一次加载只有一个摄像设备,切换页面(不是刷新url的方式)后才会加载出所有设备

偶发性问题:
有时会高频触发结果事件,捂住摄像头也会触发,关闭摄像头后就不会触发了,再打开又会触发
参数一直都是相同的数字
该问题测试时无法100%重现

Expected Behavior

第一次加载就加载出所有设备

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

8.0.302

Anything else?

运行系统:iphone
浏览器:safari

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions