k94314517
2025-06-25 4e7a24ffb131b89948dce9f2380cc3b91db20b85
company/src/utils/waterMark.js
@@ -16,8 +16,8 @@
    container.style.position = 'relative' // 设置布局为相对布局
    // 创建canvas元素(先制作一块背景图)
    const can = document.createElement('canvas')
    can.width = 300 // 设置每一块的宽度
    can.height = 260 // 高度
    can.width = 320 // 设置每一块的宽度
    can.height = 290 // 高度
    const cans = can.getContext('2d') // 获取canvas画布
    cans.rotate(-20 * Math.PI / 180) // 逆时针旋转π/9
    cans.font = '24px Vedana' // 设置字体