Skip to content
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

fragment标签内部使用if语句时,渲染的注释说明为文本节点,而不是注释节点 #4

Open
SLC5514 opened this issue May 11, 2024 · 0 comments

Comments

@SLC5514
Copy link

SLC5514 commented May 11, 2024

fragment标签内部使用if语句时,渲染的注释说明为文本节点,而不是注释节点,我不得不注释此逻辑

如:
<fragment v-for="item in list"> <a v-if="item.status === 1"></a> <div v-if="item.status === 2"></div> </fragment>

image

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

No branches or pull requests

1 participant