Closed kakayikaka closed 1 year ago
当开启 fingerprint 时,html 生成的 integrity 与文件实际哈希码不同
Failed to find a valid digest in the 'integrity' attribute for resource 'https://xxx/js/theme.min.81e852a4cdb2xxxxx3614f93188bc062ae547de10130d3.js' with computed SHA-256 integrity 'PDEns+m+iBIyUUbiXJeu/rZMOAAXdf7cSNPbOHubL8g='. The resource has been blocked.
可以正常启用 fingerprint
No response
经过测试,style.min.b859f34dde62366208f15a6ef22b0678.css 可以计算出正确的哈希值,除此之外,其他的 hash 计算结果均与浏览器算出来的不一致
未知原因,暂时无法复现
Describe the bug 描述你遇到的错误
当开启 fingerprint 时,html 生成的 integrity 与文件实际哈希码不同
Failed to find a valid digest in the 'integrity' attribute for resource 'https://xxx/js/theme.min.81e852a4cdb2xxxxx3614f93188bc062ae547de10130d3.js' with computed SHA-256 integrity 'PDEns+m+iBIyUUbiXJeu/rZMOAAXdf7cSNPbOHubL8g='. The resource has been blocked.
Expected behavior 期待的行为
可以正常启用 fingerprint
Screenshots 屏幕截图
Build Environment 构建环境
No response
Preview Environment 预览环境
No response
Additional Information 补充信息
No response