feat(short-drama-agent-front): 完善镜头定位与项目配置

This commit is contained in:
GJ committed 2026-10-08 19:45:26 +08:00
1 parent 470b52e26d
commit 5b134207b8
66 files changed
+2042 -984

No files matched your search

+4 -1
View File
@@ -3,7 +3,10 @@ import { NSelect } from 'naive-ui'
/** 工作区工具弹窗通过真实 Teleport 挂到 body,测试从外层读取,不禁用 Teleport 掩盖挂载问题。 */
export function drawerPanel() {
return new DOMWrapper(document.body).get<HTMLElement>('.workspace-tools-modal')
const body = document.querySelector<HTMLElement>('.workspace-tools-body')
const modal = body?.closest<HTMLElement>('.app-dialog')
if (!modal) throw new Error('工作区工具弹窗未打开')
return new DOMWrapper(modal)
}
/** 通过真实菜单触发器访问低频功能,不直接调用组件内部方法绕过可见性。 */