From 8434c4b22d915ed796f7662cb10817b8e33c47c6 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 17 三月 2025 16:26:37 +0800
Subject: [PATCH] fix: 修改支付方式选择

---
 apps/taro/src/utils/page.ts |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/apps/taro/src/utils/page.ts b/apps/taro/src/utils/page.ts
index 5906af5..1d45c4e 100644
--- a/apps/taro/src/utils/page.ts
+++ b/apps/taro/src/utils/page.ts
@@ -54,4 +54,11 @@
       url: pathAddExtraParam(option.url, { channelId: blLifeRecharge.accountModel.channlesNum }),
     });
   }
+
+  static redirectTo(option: Taro.redirectTo.Option) {
+    return Taro.redirectTo({
+      ...option,
+      url: pathAddExtraParam(option.url, { channelId: blLifeRecharge.accountModel.channlesNum }),
+    });
+  }
 }

--
Gitblit v1.9.1