fix(frontend): 海外版隐藏微信公众号绑定 - #992
Merged
xiaomakuaiz merged 1 commit intoAug 5, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
本次仅调整前端通知设置页,复用现有
serverConfig.region区分 SaaS 区域:region=cn)继续显示微信公众号状态卡和绑定、解绑弹窗,原有功能保持不变。region=global)隐藏微信公众号绑定相关 UI。wechat_work保持原样。后端、API、数据库和微信公众号绑定接口均无改动。
实现方式
新增
shouldShowWechatMp区域判定函数,仅在在线版且region=cn时返回true。通知设置页使用同一个结果控制微信公众号状态卡及绑定、解绑弹窗。验证
补充:本地全量 Node 测试共 321 项,312 项通过,9 项既有失败集中在 manager skills、模块路径解析和 offline skills,与本次改动文件无关联。