Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试让 JavaScript 在 acrobat 中休眠。我在跑
this.saveAs(saveFileName);
保存文件需要时间,但 JavaScript 会继续运行并破坏以后的代码。
问题是保存文件时,以后的代码看不到文件完全下载。我所要做的就是关闭文件并重新打开文件,之后的代码运行正常。