Commit 6e03de50 by lw567 Committed by GitHub

fix: watermark create error #6788 (#6789)

Co-authored-by: liwei567 <liwei567@example.com>
1 parent 713281a8
...@@ -8,7 +8,7 @@ const { destroyWatermark, updateWatermark, watermark } = useWatermark(); ...@@ -8,7 +8,7 @@ const { destroyWatermark, updateWatermark, watermark } = useWatermark();
async function recreateWaterMark() { async function recreateWaterMark() {
destroyWatermark(); destroyWatermark();
await updateWatermark({}); await createWaterMark();
} }
async function createWaterMark() { async function createWaterMark() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!