chore(deps): update

This commit is contained in:
xiaoxian521
2023-12-28 18:46:43 +08:00
parent 792536cdea
commit f7883606c8
7 changed files with 821 additions and 920 deletions

View File

@@ -24,7 +24,7 @@ const wasmPath = getPath("capture.worker.wasm");
loadScript({
src
}).then(mgs => {
if (mgs === "success") {
if (mgs[0].message === "加载成功") {
// @ts-expect-error
captureUtil.value = cheetahCapture.initCapture({
workerPath,

View File

@@ -50,7 +50,7 @@ onBeforeUnmount(() => {
<span>请选择要创建水印的颜色</span>
<el-color-picker v-model="color" show-alpha />
<br />
<el-button @click="setWatermark(value, { fillStyle: color })">
<el-button @click="setWatermark(value, { color })">
创建整页水印
</el-button>
<el-button
@@ -117,7 +117,7 @@ onBeforeUnmount(() => {
<el-button
@click="
setLocalWatermark('局部水印', {
fillStyle: color,
color,
width: 140,
height: 60
})