修改参数缓存bug

This commit is contained in:
zhouyanli
2026-09-21 10:31:57 +08:00
parent da9a15779c
commit a91652c396
4 changed files with 99 additions and 23 deletions

View File

@@ -14,10 +14,11 @@
onShow((options) => {
console.log('App onShow, options:', JSON.stringify(options))
// 先判断是否为支付小程序返回:是则本次进入只按支付结果处理,
// 不能再走 App 跳转参数捕获,否则兜底参数会把上一次的账单写回缓存
if (capturePaymentResult(options)) return
// 捕获 App 跳转传入的支付参数(热启动 — options 携带新的 referrerInfo)
captureAppLaunchData(options)
// 捕获日照银行支付小程序返回的支付结果(navigateBackMiniProgram 的 extraData)
capturePaymentResult(options)
})
// 获取 uniPush 2.0 CID