优化: workflow记录补project_id+前端审批/交互打磨

This commit is contained in:
lxy
2026-08-12 00:40:40 +08:00
parent d31a27512c
commit 7a1e80eac2
9 changed files with 83 additions and 32 deletions
+2 -1
View File
@@ -326,7 +326,8 @@ async function syncToMain() {
if (screenWidth > 0) {
targetX = screenWidth - AI_DOCK_WIDTH - AI_DOCK_GAP
}
targetHeight = size.height > targetHeight ? targetHeight : size.height
// FIX-17 P2-5: 最大化时 targetHeight = size.height, height > height 恒 false,
// 原三元是无操作死代码,已移除。
} else if (screenWidth > 0 && targetX + AI_DOCK_WIDTH > screenWidth) {
// 非最大化但主+AI 超屏幕:AI 窗口本身让位(缩窄或往左偏),不动主窗口。
// 优先策略:贴屏幕右侧边,AI 窗口宽度可能被主窗口右边缘掩盖一部分,但不强迫主窗口缩小。