feat(client): 实现可编辑岛组件方案与连接更新状态反馈

This commit is contained in:
LoveChengke committed 2026-10-17 12:55:39 +08:00
1 parent 35b252249d
commit b990701cde
26 files changed
+2014 -275

No files matched your search

@@ -1,3 +1,4 @@
import { verifyLayoutSmoke } from './smoke-layout.js';
import fs from 'node:fs';
import { runQuickSmoke } from './smoke-quick.js';
import path from 'node:path';
@@ -4603,6 +4604,14 @@ export async function runSmokeTest(win: BrowserWindow): Promise<void> {
}
};
await verifyLayoutSmoke(async (name, action) => {
try {
const value = await action();
record(name, value !== false, typeof value === 'string' ? value : '');
} catch (error) {
record(name, false, String(error));
}
});
writeResult();
// 托盘与退出清理放在最后:会隐藏主窗口并销毁托盘/灵动岛