feat(salon): 服务端拦截未同意最新协议的用户并补充端侧 4510 处理
自动发布开发环境 Nacos 配置 / publish (push) Successful in 18s

This commit is contained in:
2026-11-05 09:43:01 +08:00
parent 88589e2575
commit fb19fcf05f
10 changed files with 503 additions and 45 deletions
@@ -4,6 +4,11 @@
*/
let agreementPending = false
/**
* 服务端返回 4510 时广播的事件名,页面层(如后台布局)监听后重新检查协议状态并展示同意弹层。
*/
export const AGREEMENT_REQUIRED_EVENT = 'jayucloud:agreement-required'
export const setAgreementPending = (value: boolean) => {
agreementPending = value
}