From 66c843b32eae197d248e962ec3b5cdf05d45cb22 Mon Sep 17 00:00:00 2001 From: Roe-xin Date: Tue, 3 Mar 2026 17:42:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E7=94=A8=E6=88=B7=E4=BB=8D=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E9=82=80=E8=AF=B7=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/panels/ICHelperPanel.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/panels/ICHelperPanel.ts b/src/panels/ICHelperPanel.ts index 09088e0..1c38580 100644 --- a/src/panels/ICHelperPanel.ts +++ b/src/panels/ICHelperPanel.ts @@ -516,8 +516,15 @@ export async function showICHelperPanel( const userInfo = getCachedUserInfo(); if (userInfo?.isPluginTrial === true) { - // 试用用户,跳过邀请码验证,不发送消息 - console.log("[ICHelperPanel] 试用用户,跳过邀请码验证"); + // 试用用户,跳过邀请码验证,触发欢迎弹窗检查 + console.log("[ICHelperPanel] 试用用户,跳过邀请码验证,检查欢迎弹窗"); + const showWelcome = context.globalState.get("showWelcomeModal"); + if (showWelcome) { + await context.globalState.update("showWelcomeModal", undefined); + panel.webview.postMessage({ + command: "showWelcomeModal", + }); + } } else { // 正式用户,检查邀请码 const {