fix:修复企业试用用户仍弹出邀请码的问题
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user