补充前端小模块说明注释
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user