fix: 修复中药开放部分问题

This commit is contained in:
2025-03-10 12:22:56 +08:00
parent 72acbcc462
commit 3e287233c7
5 changed files with 577 additions and 75 deletions

View File

@@ -47,6 +47,8 @@ export function useWatermark() {
...cachedOptions.value,
...options,
};
// 这里填写水印颜色
cachedOptions.value.globalAlpha = 0.15;
watermark.value = new Watermark(cachedOptions.value);
updatePreferences({ app: { watermark: true } });
await watermark.value?.create();