Skip to content

Commit

Permalink
Close the pop-up window to solve the problem of lag when making batch…
Browse files Browse the repository at this point in the history
… requests
  • Loading branch information
TimeTrapzz committed Sep 23, 2024
1 parent 831479f commit cfd8079
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/modules/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ export class UIExampleFactory {
ztoolkit.log(ccfInfo);
ztoolkit.log(citationNumber);

new ztoolkit.ProgressWindow(config.addonName)
.createLine({
text: `已更新"${entry.getField("title")}"的ccf信息`,
type: "success",
progress: 100,
})
.show();
// new ztoolkit.ProgressWindow(config.addonName)
// .createLine({
// text: `已更新"${entry.getField("title")}"的ccf信息`,
// type: "success",
// progress: 100,
// })
// .show();
} catch (error: unknown) {
console.error(`获取ccf信息时出错:${(error as Error).message}`);
new ztoolkit.ProgressWindow(config.addonName)
Expand Down

0 comments on commit cfd8079

Please sign in to comment.