提交 438edab6 编写于 作者: fxy060608's avatar fxy060608

fix(app-nvue): v-slot

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