We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2eaf8a commit 75eeb2dCopy full SHA for 75eeb2d
1 file changed
src/app/service/resource/manager.ts
@@ -345,11 +345,14 @@ export class ResourceManager extends Manager {
345
if (key in resource.hash) {
346
let hex = u.hash![key];
347
if (isBase64(hex)) {
348
- // 转换为hash进对比
+ // 转换为hex进对比
349
hex = base64ToHex(u.hash![key]);
350
}
351
- // 对比普通的hash
352
- if (resource.hash[key as keyof ResourceHash] !== hex) {
+ // 对比hex
+ if (
353
+ resource.hash[key as keyof ResourceHash].toLowerCase() !==
354
+ hex.toLowerCase()
355
+ ) {
356
flag = false;
357
358
0 commit comments