Skip to content

Conversation

@cyfung1031
Copy link
Collaborator

概述

把 registerMenuCommand 和 unregisterMenuCommand 的两个列队合一

变更内容

截图

this.updateMenuCommends.set(mrKey, (list = []));
}
this.unregisterMenuCommandMessages.get(mrKey)!.push({ key, uuid, tabId });
list.push({ ...message, registerType });
Copy link
Member

@CodFrm CodFrm Oct 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在这个后面增加一个 await Promise.reslove() 调度转移微任务队列 再判断长度是否为0,来决定是不是执行后续tx可以么?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e18d16e 加了

@cyfung1031 cyfung1031 force-pushed the pr-fix-menu-event-order-3 branch from 37d2492 to 661f6e6 Compare October 10, 2025 09:23
@CodFrm CodFrm merged commit 3ecde9e into scriptscat:main Oct 10, 2025
1 of 3 checks passed
@cyfung1031 cyfung1031 deleted the pr-fix-menu-event-order-3 branch October 17, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants