Skip to content

Commit 6c6bcbf

Browse files
author
Neeraj Singh
committed
Resolve name slot issue
1 parent 61770f0 commit 6c6bcbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vue-native-helper/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,12 +1434,12 @@ function renderSlot(names, children) {
14341434
children = children.filter(function (v) { return v != null; });
14351435
children.forEach(function (v) {
14361436
if (v.type === COMMON.template.type) {
1437-
if (v['data-slot'] === undefined) {
1437+
if (v['dataSlot'] === undefined) {
14381438
defaultSlot.push(v.render);
14391439
}
14401440
return
14411441
}
1442-
if (v.props === undefined || v.props['data-slot'] === undefined) {
1442+
if (v.props === undefined || v.props['dataSlot'] === undefined) {
14431443
defaultSlot.push(v);
14441444
}
14451445
});

0 commit comments

Comments
 (0)