Skip to content

fix: 修复非组件属性value被替换为$u问题#2173

Open
binyellow wants to merge 1 commit intoumijs:masterfrom
binyellow:fix/com-content-replace-by-$u
Open

fix: 修复非组件属性value被替换为$u问题#2173
binyellow wants to merge 1 commit intoumijs:masterfrom
binyellow:fix/com-content-replace-by-$u

Conversation

@binyellow
Copy link
Copy Markdown
Contributor

🤔 这个变动的性质是?/ What is the nature of this change?

  • 新特性提交 / New feature
  • bug 修复 / Fix bug
  • 样式优化 / Style optimization
  • 代码风格优化 / Code style optimization
  • 性能优化 / Performance optimization
  • 构建优化 / Build optimization
  • 网站、文档、Demo 改进 / Website, documentation, demo improvements
  • 重构代码或样式 / Refactor code or style
  • 测试相关 / Test related
  • 其他 / Other

🔗 相关 Issue / Related Issue

#2170

💡 需求背景和解决方案 / Background or solution

非组件属性名称,被正则误替换为$u,造成例如Tree组件等content内容显示异常问题,只匹配组件的属性名称,replace属性

📝 更新日志 / Changelog

Language Changelog
🇺🇸 English fixed the issue where non-component attribute value was replaced with $u
🇨🇳 Chinese 修复非组件属性value被替换为$u问题

@vercel
Copy link
Copy Markdown

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dumi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 3:06pm

@binyellow
Copy link
Copy Markdown
Contributor Author

@PeachScript 老哥cc

@PeachScript
Copy link
Copy Markdown
Member

@PeachScript 老哥cc

抱歉忘回了,我想下有没有正则以外的方案, @Jinbao1001 也看看这个 PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants