mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
chore(deps): update
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user