Vue添加纯色背景水印
Vue添加纯色背景水印main.js中添加Vue.prototype.watchCanvs = (width, height, text, classname) => { let canvas = document.createElement('canvas') canvas.width = width canvas.height = height let context = canvas.getContext('2d') let text1 = '' for (let