refactor(chat): remove redundant auth state management from ChatScreen documentation
refactor(chat): update guest chat quota logic to use isProduction utility fix(user): add TODO for user initialization event on login status change
This commit is contained in:
@@ -2,11 +2,6 @@
|
||||
/**
|
||||
* ChatScreen 编排层
|
||||
*
|
||||
* 职责(本文件):
|
||||
* - 订阅 auth 状态机(loginStatus)—— 派生 isGuest / 派鉴权生命周期事件给 chat 机器
|
||||
* - 屏幕生命周期事件(init / visible / invisible)
|
||||
* - 不直接管理 WebSocket / 不直接读 AuthStorage(除 token 取值)
|
||||
*
|
||||
* 子组件职责:
|
||||
* - ChatHeader:顶部栏(游客 banner / 菜单按钮)
|
||||
* - ChatArea:消息列表
|
||||
|
||||
Reference in New Issue
Block a user