扫一扫优化

This commit is contained in:
iqudoo
2026-06-26 21:52:47 +08:00
parent bee953617d
commit 689eec085f
7 changed files with 233 additions and 69 deletions

4
types/index.d.ts vendored
View File

@@ -22,6 +22,10 @@ interface ScanConfigOptions {
* 页面 URL 变化后是否自动重新初始化微信 JSSDK默认 true避免扫一扫失效
*/
wxJssdkAutoReinitOnUrlChange?: boolean,
/**
* URL 轮询检测间隔(毫秒),用于捕获未走 history API 的 SPA 路由;默认 1000设为 0 关闭
*/
wxJssdkUrlPollInterval?: number,
/**
* 桥接是否启用,默认启用
*/