fix:修复企业试用用户仍弹出邀请码的问题

This commit is contained in:
Roe-xin
2026-03-03 17:38:32 +08:00
parent f56ad33366
commit de9da79042

View File

@ -516,12 +516,8 @@ export async function showICHelperPanel(
const userInfo = getCachedUserInfo(); const userInfo = getCachedUserInfo();
if (userInfo?.isPluginTrial === true) { if (userInfo?.isPluginTrial === true) {
// 试用用户,跳过邀请码验证,直接返回已验证 // 试用用户,跳过邀请码验证,不发送消息
console.log("[ICHelperPanel] 试用用户,跳过邀请码验证"); console.log("[ICHelperPanel] 试用用户,跳过邀请码验证");
panel.webview.postMessage({
command: "invitationCodeStatus",
verified: true,
});
} else { } else {
// 正式用户,检查邀请码 // 正式用户,检查邀请码
const { const {