This repository has been archived on 2026-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
Files
MetaLab/templates/admin/html/layout/footer.html
Victor_Jay b8658712bb fix: 静态资源加缓存破坏版本号,解决浏览器缓存旧 JS 导致功能不生效
- 启动时生成 AssetVersion(base36 时间戳),注入模板 {{.V}}
- 所有 JS/CSS 引用加 ?v={{.V}},重启即刷新缓存
- 涉及前端、管理后台共 12 个模板文件
2026-05-31 01:46:47 +08:00

10 lines
216 B
HTML

</main>
</div>
<script src="/shared/static/js/utils.js?v={{.V}}"></script>
<script src="/admin/static/js/common.js?v={{.V}}"></script>
{{if .ExtraJS}}
<script src="{{.ExtraJS}}"></script>
{{end}}
</body>
</html>