fix update error

This commit is contained in:
duanfuxiang
2025-08-21 01:51:49 +08:00
parent 272082f6ca
commit a6593fdbef
4 changed files with 1356 additions and 72 deletions

View File

@@ -48,6 +48,7 @@ export default function PluginInfoSettings({
try {
// 检查是否为Pro用户
const userPlan = await fetchUserPlan(settings.infioProvider.apiKey);
console.log('userPlan', userPlan);
const isProUser = userPlan.plan?.toLowerCase().startsWith('pro') || false;
if (!isProUser) {
if (plugin?.app) {