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

template的文字节点转化有问题 #8

Open
BoatGina opened this issue Mar 10, 2019 · 1 comment
Open

template的文字节点转化有问题 #8

BoatGina opened this issue Mar 10, 2019 · 1 comment

Comments

@BoatGina
Copy link

BoatGina commented Mar 10, 2019

<template>
  <div>
    欢迎打开2
  </div>
</template>

如果直接这样使用的话,里面的文字节点是失效的

@BoatGina BoatGina reopened this Mar 10, 2019
@Youjingyu
Copy link
Owner

@BoatGina 这是快应用的问题,div 下不能直接写文本,需要嵌套 span

<template>
  <div>
    <span>欢迎打开2</span>
  </div>
</template>

建议查看已知问题

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

2 participants