ElemeFE / vue-infinite-scroll

An infinite scroll directive for vue.js.
2.86k stars 417 forks source link

Set "infinite-scroll-immediate-check" to false is not working if the prop sent as boolean #134

Open Bigdragon13th opened 4 years ago

Bigdragon13th commented 4 years ago

This code is not working (Bind the prop to boolean value)

<div
  v-infinite-scroll="getVideoFeed"
  :infinite-scroll-immediate-check="false"
>

While this one does work (Bind prop to the string "false")

<div
  v-infinite-scroll="getVideoFeed"
  infinite-scroll-immediate-check="false"
>

Expected behavior: Both example should work

duanguiyang commented 3 years ago

解决办法?