We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const watermarkInit = () => { nextTick(() => { watermark.init({ watermark_txt: "知能英语", //水印的内容 watermark_parent_node: "learn-parent", //水印插件挂载的父元素element,不输入则默认挂在body上 watermark_fontsize: "24px", //水印字体大小 watermark_alpha: 0.08, //水印透明度,要求设置在大于等于0.005 watermark_angle: 45, //水印倾斜度数 watermark_width: 344, //水印宽度 watermark_height: 112, //水印长度 }); }); }; onMounted(() => { watermarkInit(); }); onBeforeUnmount(() => { nextTick(() => { try { watermark.remove(); } catch (error) {} }); });
The text was updated successfully, but these errors were encountered:
已解决: watermark.init => watermark.load 手动加载
Sorry, something went wrong.
No branches or pull requests
const watermarkInit = () => {
nextTick(() => {
watermark.init({
watermark_txt: "知能英语", //水印的内容
watermark_parent_node: "learn-parent", //水印插件挂载的父元素element,不输入则默认挂在body上
watermark_fontsize: "24px", //水印字体大小
watermark_alpha: 0.08, //水印透明度,要求设置在大于等于0.005
watermark_angle: 45, //水印倾斜度数
watermark_width: 344, //水印宽度
watermark_height: 112, //水印长度
});
});
};
onMounted(() => {
watermarkInit();
});
onBeforeUnmount(() => {
nextTick(() => {
try {
watermark.remove();
} catch (error) {}
});
});
The text was updated successfully, but these errors were encountered: