diff --git a/frontend/src/components/EndpointTestDialog.tsx b/frontend/src/components/EndpointTestDialog.tsx index ca669d1b..c9bf6ab1 100644 --- a/frontend/src/components/EndpointTestDialog.tsx +++ b/frontend/src/components/EndpointTestDialog.tsx @@ -167,7 +167,6 @@ function EpRow({ ep, result, testing, isCurrent, isFree, canUsePremium, switchin onApply: (url: string) => void }) { const isError = result && !result.ok - const canApply = result?.ok && !testing && !isCurrent const isPremium = ep.premium === true const median = result?.median_ms @@ -240,7 +239,8 @@ function EpRow({ ep, result, testing, isCurrent, isFree, canUsePremium, switchin - {/* 应用按钮区域 —— Free 模式不可用任何付费端点;专线端点需 Expert+ */} + {/* 应用按钮区域 —— 打开即可应用(测速只是参考,不作为可用性门槛); + Free 模式不可用任何付费端点;专线端点需 Expert+ */} {isFree ? null : (isPremium && !canUsePremium) ? ( // 专线端点:需 Expert 及以上套餐权限,当前套餐不足,不可应用 Expert+ - ) : canApply ? ( + ) : isCurrent ? null : ( - ) : null} + )} ) }