refactor: ♻️ 移除水印组件中重复的代码 (#158)

This commit is contained in:
GJSSSS 2023-12-27 16:35:31 +08:00 committed by GitHub
parent 9a5641274a
commit abf2f02bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -491,7 +491,6 @@ async function drawImageOffScreen(
img.crossOrigin = 'anonymous'
img.referrerPolicy = 'no-referrer'
img.referrerPolicy = 'no-referrer'
if (isBase64Image(image)) {
img.src = image
} else {