Skip to content

Commit 35ef861

Browse files
committed
Fixed attrs in item
1 parent 08d4cdf commit 35ef861

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/item.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ export const Item = Vue.component('virtual-list-item', {
5656
extraProps.index = index
5757

5858
return h(tag, {
59-
role: 'item'
59+
attrs: {
60+
role: 'item'
61+
}
6062
}, [h(component, {
6163
props: extraProps
6264
})])

0 commit comments

Comments
 (0)