feat(public): 实现docx库按需加载并优化邮件配置存储逻辑 将Word导出功能中的docx库从静态引入改为按需动态加载,提升页面初始加载性能。 同时重构邮件配置功能,支持将配置保存至服务器并与localStorage保持同步备份。 此外,在页面初始化时并行加载各项配置以提高整体加载效率。 ```
This commit is contained in:
@@ -601,7 +601,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://unpkg.com/docx@7.8.2/build/index.js"></script>
|
||||
<script src="app.js"></script>
|
||||
<!-- docx库已改为按需加载,只在用户点击导出时才加载,提升首屏加载速度 -->
|
||||
<script src="app.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user