mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-07 17:48:34 +08:00
refactor: ♻️ 移除水印组件中重复的代码 (#158)
This commit is contained in:
parent
9a5641274a
commit
abf2f02bec
@ -491,7 +491,6 @@ async function drawImageOffScreen(
|
|||||||
img.crossOrigin = 'anonymous'
|
img.crossOrigin = 'anonymous'
|
||||||
img.referrerPolicy = 'no-referrer'
|
img.referrerPolicy = 'no-referrer'
|
||||||
|
|
||||||
img.referrerPolicy = 'no-referrer'
|
|
||||||
if (isBase64Image(image)) {
|
if (isBase64Image(image)) {
|
||||||
img.src = image
|
img.src = image
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user