Skip to content

Update class-and-style.md #1079

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

Closed
wants to merge 1 commit into from
Closed

Conversation

hubaia
Copy link

@hubaia hubaia commented May 19, 2025

An Optimization of Ambiguity in Personal Understanding

在创建 pull request 之前

请确认:

  • 我已经阅读过项目的 wiki 了解相关注意事项。
  • 我对翻译内容的改动不包含基于英文原版的扩展、删减或演绎 (如有,请移步至英文文档仓库讨论,相关结论会被定期从英文版同步)

问题描述

An Optimization of Ambiguity in Personal Understanding
Copy link

vercel bot commented May 19, 2025

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

Name Status Preview Comments Updated (UTC)
docs-zh-cn ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 19, 2025 2:12am

@@ -222,7 +222,7 @@ Class 的绑定也是同样的:
<p class="foo bar active">Hi!</p>
```

如果你的组件有多个根元素,你将需要指定哪个根元素来接收这个 class。你可以通过组件的 `$attrs` 属性来指定接收的元素:
如果你的组件的子元素有多个根元素,你将需要指定哪个根元素来接收这个 class。你可以通过组件的 `$attrs` 属性来指定接收的元素:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原文含义和场景都在表达 MyComponent 有两个 根节点,分别为 pspan 标签。

原文是正确的。

@veaba
Copy link
Member

veaba commented May 22, 2025

如无更多的讨论,这里先 close。

@veaba veaba closed this May 22, 2025
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