fix:修复企业试用用户仍弹出邀请码的问题
This commit is contained in:
@ -516,12 +516,8 @@ export async function showICHelperPanel(
|
||||
const userInfo = getCachedUserInfo();
|
||||
|
||||
if (userInfo?.isPluginTrial === true) {
|
||||
// 试用用户,跳过邀请码验证,直接返回已验证
|
||||
// 试用用户,跳过邀请码验证,不发送消息
|
||||
console.log("[ICHelperPanel] 试用用户,跳过邀请码验证");
|
||||
panel.webview.postMessage({
|
||||
command: "invitationCodeStatus",
|
||||
verified: true,
|
||||
});
|
||||
} else {
|
||||
// 正式用户,检查邀请码
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user