We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c9278e commit 47d68f5Copy full SHA for 47d68f5
src/index.js
@@ -224,7 +224,7 @@ const VirtualList = Vue.component('virtual-list', {
224
for (let index = start; index <= end; index++) {
225
const dataSource = dataSources[index]
226
if (dataSource) {
227
- if(dataSource.hasOwnProperty(dataKey)) {
+ if(Object.prototype.hasOwnProperty.call(dataSource, dataKey)) {
228
slots.push(h(Item, {
229
props: {
230
index,
0 commit comments