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
I want to customize the content, but the generated watermark content is undefined
The code is as follows
OptionConfig : { mode: "bottomleft", textBaseline: "middle", font: "12px Arial", fillStyle: "white", content: ${this.now}, rotate: 45 }
${this.now}
//username,userid from data computed: { now(){ return this.username+this.userid+dayjs().format("YYYY-MM-DD HH:mm:ss") } },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to customize the content, but the generated watermark content is undefined
The code is as follows
OptionConfig : {
mode: "bottomleft",
textBaseline: "middle",
font: "12px Arial",
fillStyle: "white",
content:
${this.now}
,rotate: 45
}
//username,userid from data
computed: {
now(){
return this.username+this.userid+dayjs().format("YYYY-MM-DD HH:mm:ss")
}
},
The text was updated successfully, but these errors were encountered: