修改上传图片安全验证问题

This commit is contained in:
张成
2026-02-14 12:59:21 +08:00
parent 8688b6b82d
commit 64f0267457
54 changed files with 239 additions and 240 deletions

View File

@@ -99,7 +99,7 @@ function isOnCancelEmpty(onCancelFunc) {
const normalized = funcString.replace(/\s/g, "");
return emptyFunctionPatterns.includes(normalized);
} catch (error) {
console.error("检查 onCancel 函数时出错:", error);
console.warn("检查 onCancel 函数时出错:", error);
return false;
}
}
@@ -531,7 +531,7 @@ function Result() {
// setQrCodeUrl(tempFilePath);
// }
} catch (error) {
console.error("获取二维码失败:", error);
console.warn("获取二维码失败:", error);
}
}
@@ -645,7 +645,7 @@ function Result() {
});
return imageUrl;
} catch (error) {
console.error("生成图片失败:", error);
console.warn("生成图片失败:", error);
throw error;
}
}