From cf6391962e5ce813c1e6def77849c8f437ccf238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 3 Oct 2026 14:58:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BC=9A=E5=91=98=E5=85=85=E5=80=BC):?= =?UTF-8?q?=20=E5=B9=B6=E5=8F=91=E6=96=87=E6=A1=88=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E7=9A=84=E4=B8=8D=E8=AE=BE=E4=B8=8A=E9=99=90?= =?UTF-8?q?=E5=88=A4=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - membershipCopy.ts:resolveMembershipConcurrencyLabel / resolveMembershipConcurrencyShortLabel 改为调用 isUnlimitedConcurrency,去掉重复的 128 判定 Co-authored-by: Junie --- .../components/PlatformProfileRechargeModal/membershipCopy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/src/components/PlatformProfileRechargeModal/membershipCopy.ts b/packages/shared/src/components/PlatformProfileRechargeModal/membershipCopy.ts index 2e7870390..87bb554ab 100644 --- a/packages/shared/src/components/PlatformProfileRechargeModal/membershipCopy.ts +++ b/packages/shared/src/components/PlatformProfileRechargeModal/membershipCopy.ts @@ -79,7 +79,7 @@ export function resolveMembershipConcurrencyLabel( export function resolveMembershipConcurrencyShortLabel( concurrentJobLimit: number, ): string { - return concurrentJobLimit >= UNLIMITED_CONCURRENT_JOB_LIMIT + return isUnlimitedConcurrency(concurrentJobLimit) ? '不设套餐上限' : `${concurrentJobLimit} 个`; }