-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
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
feat(watermark): support multi-line text #2477
Conversation
Walkthrough此次修改显著提升了 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant DemoComponent
participant WaterMark
User->>DemoComponent: 点击按钮 (设置 flag)
DemoComponent->>WaterMark: 根据 flag 渲染水印
alt flag == 0
WaterMark->>User: 显示水印内容 "NutUI-WaterMark"
else flag == 1
WaterMark->>User: 显示水印图像
else flag == 2
WaterMark->>User: 显示多行文本和多个水印
end
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单
Summary by CodeRabbit
新功能
startX
和startY
属性,允许用户自定义水印的起始位置。文档