dy-dashboard/vault/知识库/工作指南/训练记录/2026-08-11-修复浏览器弹窗拦截提示.md
2026-10-28 11:14:17 +08:00

8 lines
674 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 3. 修复浏览器弹窗拦截提示
**旭东 → OpenClaw:**
> 我发现每次点击某个按钮的时候,浏览器会提示是否允许浏览器弹出此弹窗,这个是不能展示出来的,否则我点击勾选之后,后续就不会弹弹窗列
**OpenClaw 响应:**
已修复。原实现中导出(产品/供应商/BOM)、合同模板预览、反馈附件图片打开均使用 window.open 新标签页,触发浏览器"是否允许弹出弹窗"拦截提示。已新增 safeOpenUrl 工具函数(隐藏a标签模拟点击),替换全部 window.open 新标签调用,浏览器不再提示。已重启测试服务。Git提交 b12ee81。已记录