提交 3236e736 编写于 作者: Y yurj26

fix(uts): text node

上级 a085bb18
......@@ -13,9 +13,7 @@ import { NodeTransform } from '../transform'
function isTextNode({ tag }: ElementNode) {
// TODO 临时解决text节点嵌套的问题
return (
tag === 'text' || tag === 'button' || tag === 'radio' || tag === 'checkbox'
)
return tag === 'text' || tag === 'button'
}
function isTextElement(node: TemplateChildNode) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册