Skip to content

实现类似Ant Design中水印的效果 #12

Closed Answered by zhensherlock
mmzhw asked this question in Q&A
Discussion options

You must be logged in to vote

const watermark = new Watermark({
layout: 'grid',
gridLayoutOptions: {
rows: 2,
cols: 2,
matrix: [[1,0], [0,1]]
}
})
添加上述参数,可实现该效果

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mmzhw
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants