fix
This commit is contained in:
8
types/index.d.ts
vendored
8
types/index.d.ts
vendored
@@ -22,6 +22,10 @@ interface ScanConfigOptions {
|
||||
* 网页扫码成功提示音是否启用,默认启用
|
||||
*/
|
||||
webScanBeepEnabled?: boolean,
|
||||
/**
|
||||
* BarcodeDetector polyfill 地址,默认使用 jsDelivr CDN
|
||||
*/
|
||||
webBarcodeDetectorPolyfillUrl?: string,
|
||||
/**
|
||||
* 微信JSSDK配置,微信环境才会生效,配置后会自动初始化微信JSSDK
|
||||
*/
|
||||
@@ -153,6 +157,10 @@ interface IScan {
|
||||
* 开启扫码
|
||||
*/
|
||||
startScan(): void;
|
||||
/**
|
||||
* 选择图片进行识别
|
||||
*/
|
||||
scanImage(): void;
|
||||
/**
|
||||
* 清除全部监听
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user