补充前端小模块说明注释

This commit is contained in:
2026-04-25 10:05:47 +08:00
parent d012b3e73b
commit 31f53ddfbe
4 changed files with 10 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@ export function bindGlobalDialogControls() {
event.preventDefault();
const action = actionButton.getAttribute("data-chat-dialog-action");
// 全局弹窗只允许确认/取消两类动作,继续承接旧 Promise 回调流程。
if (action === "confirm") {
window.chatDialog?._confirm?.();
return;