Use store to manage nodeSearchService (#214)

This commit is contained in:
Chenlei Hu
2024-07-24 12:00:23 -04:00
committed by GitHub
parent b73fe80761
commit ebdd7b8e40
7 changed files with 33 additions and 43 deletions

View File

@@ -110,7 +110,9 @@ export class ComfyPage {
}`,
});
await this.page.waitForFunction(() => document.fonts.ready);
await this.page.waitForFunction(() => window["app"] !== undefined);
await this.page.waitForFunction(
() => window["app"] !== undefined && window["app"].vueAppReady
);
await this.page.evaluate(() => {
window["app"]["canvas"].show_info = false;
});