File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,10 @@ export default {
50
50
51
51
computed: {
52
52
id () {
53
- if (this .vscrollData .simpleArray ) return this .index ;
54
- if (this .item .hasOwnProperty (this .vscrollData .keyField )) return this .item [this .vscrollData .keyField ];
55
- throw new Error (` keyField '${ this .vscrollData .keyField } ' not found in your item. You should set a valid keyField prop on your Scroller` );
53
+ if (this .vscrollData .simpleArray ) return this .index
54
+ // eslint-disable-next-line no-prototype-builtins
55
+ if (this .item .hasOwnProperty (this .vscrollData .keyField )) return this .item [this .vscrollData .keyField ]
56
+ throw new Error (` keyField '${ this .vscrollData .keyField } ' not found in your item. You should set a valid keyField prop on your Scroller` )
56
57
},
57
58
58
59
size () {
You can’t perform that action at this time.
0 commit comments