前端页面水印控件方案,gwm.js Generate Watermark 用于生成网页水印,警示信息安全与责任追踪。It can be used to generate watermarking in internal system, which can prompt information security and responsibility tracking. Safety issues can not be ignored, which has a certain role in pro
创建watermark.js文件
let watermark = {}
let setWatermark = (str) => {
let id = '1.23452384164.123412416';
if (document.getElementById(id) !== null) {
document.body.removeChild(document.getElementById(id));
}
//创建一个画布
let can = document.createEl