feat: 微信内浏览器统一使用 URL Scheme 跳转小程序

- 移动端(包括微信内浏览器)统一使用明文 URL Scheme
- 简化跳转逻辑,无需 JS-SDK 签名配置

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-15 10:06:43 +08:00
parent db351ae494
commit 2449619f43

View File

@@ -115,11 +115,9 @@ export const useWechatEnvironment = () => {
const wechatVersion = getWeChatVersion();
const openTagSupported = isOpenTagSupported();
// 确定跳转方式
// 确定跳转方式(移动端统一使用 URL Scheme包括微信内浏览器
let launchMethod;
if (isWechat && openTagSupported) {
launchMethod = LAUNCH_METHOD.OPEN_TAG;
} else if (isMobile) {
if (isMobile) {
launchMethod = LAUNCH_METHOD.URL_SCHEME;
} else {
launchMethod = LAUNCH_METHOD.QR_CODE;