refactor(chat): rely on server message limits
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
* ChatQuotaExhaustedBanner 游客配额耗尽横幅
|
||||
*
|
||||
* 何时显示:
|
||||
* - isGuest === true(仅游客业务事实"非游客无配额上限")
|
||||
* - quotaLoaded === true(避免一进 /chat 就跳 banner)
|
||||
* - guestTotalQuota <= 0(用 total 而非 remaining —— 配额刚减为 0 不立即跳)
|
||||
* - 后端返回 blocked=true && blockReason="daily_limit"
|
||||
*
|
||||
* 视觉规格(与设计稿对齐):
|
||||
* - 粉→品红渐变背景(与 splash 渐变一致)
|
||||
|
||||
Reference in New Issue
Block a user