fix: save button red dot shows exception#1285
Conversation
WalkthroughThe pull request updates the Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Page Update Trigger
participant Handler as handlePageUpdate
participant Msg as useMessage
Client->>Handler: Trigger page update
Handler->>Msg: Call publish(topic, pageContent)
Msg-->>Handler: Notification published
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Background and solution
What is the current behavior?
添加元素后执行撤回操作,保存按钮右上角红点未消失
【复现步骤】1、页面添加元素后不刷新; 2、再添加一个元素并撤回,保存按钮右上角红点不消失
【问题分析】保存代码后,未将最新的 Schema 信息同步至 toolbar/save 中的相关逻辑,导致标记显示异常
【过程截图】如下所示
Issue Number: N/A
What is the new behavior?
添加元素后执行撤回操作,保存按钮右上角红点正常消失
【过程截图】如下所示
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit