From 3e7080134804332e9cfc40a7eb2da7878f7b495d Mon Sep 17 00:00:00 2001 From: "shengbin.ma" Date: Sat, 2 Nov 2024 21:31:49 +0800 Subject: [PATCH] =?UTF-8?q?update:=20APP=20=E4=B8=8B=E8=BD=BD=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/partner/page.tsx | 2 +- src/utils/download.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/partner/page.tsx b/src/app/partner/page.tsx index c57af0a..3ed71ef 100644 --- a/src/app/partner/page.tsx +++ b/src/app/partner/page.tsx @@ -17,7 +17,7 @@ export default function Invite() { fetchSourece((searchParams as any)?.get('source')) .then(() => {}) .finally(() => { - window.location.replace('/'); + window.location.replace('https://m.indie.cn/partner.html?source=web'); }); }, []); diff --git a/src/utils/download.ts b/src/utils/download.ts index 039b97a..5395061 100644 --- a/src/utils/download.ts +++ b/src/utils/download.ts @@ -42,6 +42,8 @@ export const verifyBrand = () => { }; export const download = () => { + window.open('https://m.indie.cn/partner.html?source=web', '_blank'); + return; // if (isBuiltIn()) { // // 内置浏览器 可加提示使其打开手机自带浏览器 // return;