扫一扫优化
This commit is contained in:
4
types/index.d.ts
vendored
4
types/index.d.ts
vendored
@@ -22,6 +22,10 @@ interface ScanConfigOptions {
|
||||
* 页面 URL 变化后是否自动重新初始化微信 JSSDK(默认 true,避免扫一扫失效)
|
||||
*/
|
||||
wxJssdkAutoReinitOnUrlChange?: boolean,
|
||||
/**
|
||||
* URL 轮询检测间隔(毫秒),用于捕获未走 history API 的 SPA 路由;默认 1000,设为 0 关闭
|
||||
*/
|
||||
wxJssdkUrlPollInterval?: number,
|
||||
/**
|
||||
* 桥接是否启用,默认启用
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user