提交 0f1c9430 编写于 作者: fxy060608's avatar fxy060608

fix(nvue): support shorthand #

上级 68790bae
......@@ -1494,7 +1494,7 @@ function parse (
if(
(
!onRE.test(attr.name) &&
attr.name.indexOf('v-slot') !== 0
!slotRE.test(attr.name)
) && // fixed by xxxxxx 忽略 v-slot
attr.value === '' &&
(attr.start + attr.name.length) === attr.end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册