Skip to content

Commit e81421c

Browse files
committed
wip: fix codegen
1 parent 9ddbbcc commit e81421c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/codegen/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ function genSlot (el: ASTElement): string {
287287
return `_t(${slotName}${
288288
children ? `,${children}` : ''
289289
}${
290-
el.attrs ? `${children ? '' : 'null'},{${
290+
el.attrs ? `${children ? '' : ',null'},{${
291291
el.attrs.map(a => `${camelize(a.name)}:${a.value}`).join(',')
292292
}}` : ''
293293
})`

0 commit comments

Comments
 (0)