fix(sites): 不再单独显示 VIP 标签
等级里已经体现 VIP,各站 vip 判定也不一致(同为 VIP 等级,有的站是 true、有的是 null)。 卡片、列表、登录结果、站点概况去掉 VIP 显示,数据字段保留。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f5bc6e9c40
commit
147c6b1947
4 files changed
+7
-6
No files matched your search
@@ -134,9 +134,8 @@ export function LoginResultView({
|
||||
<ResultRow ok title="登录成功">
|
||||
{result.userData ? (
|
||||
<span>
|
||||
{[result.userData.username, result.userData.userLevel].filter(Boolean).join(" · ")}
|
||||
{result.userData.vip ? " · VIP" : ""} · 上传 {bytes(result.userData.upload)} · 分享率{" "}
|
||||
{ratioText(result.userData)}
|
||||
{[result.userData.username, result.userData.userLevel].filter(Boolean).join(" · ")} · 上传{" "}
|
||||
{bytes(result.userData.upload)} · 分享率 {ratioText(result.userData)}
|
||||
</span>
|
||||
) : (
|
||||
<span>{result.message ?? "没有取到用户数据"}</span>
|
||||
|
||||
Reference in new issue
Block a user