系统添加水印

 "watermark-js-plus": "^1.6.2",
 
import { Watermark } from 'watermark-js-plus'
//创建水印  添加在main页面
 const watermark = new Watermark({
    content: `${personName}`,
    width: 400,
    height: 400,
    fontColor: 'rgba(154, 154, 154, 0.7)',
    onSuccess: () => {
    }
  });
 
  watermark.create();
posted @ 2025-07-03 14:34  熬夜的布偶猫#  阅读(24)  评论(0)    收藏  举报