mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
refactor: ♻️ 移除水印组件中重复的代码 (#158)
This commit is contained in:
parent
9a5641274a
commit
abf2f02bec
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user