cloudeep / vuejs-paginate-next

A Vue.js (v3) component to make pagination, based on vuejs-paginate.
MIT License
41 stars 6 forks source link

error in runtime use paginate #2

Closed mmhashemi closed 2 years ago

mmhashemi commented 2 years ago

hi please help me when use paginate component for repeat pagination buttons get this error

runtime-core.esm-bundler.js?798e:2947 Uncaught TypeError: Cannot read properties of null (reading 'isCE') at renderSlot (runtime-core.esm-bundler.js?798e:2947:1) at eval (vuejs-paginate-next.es.js?8857:278:1) at eval (eval at renderList (runtime-core.esm-bundler.js?798e:1:1), <anonymous>:1:1) at renderList (runtime-core.esm-bundler.js?798e:2905:1) at Proxy._sfc_render (vuejs-paginate-next.es.js?8857:268:1) at renderComponentRoot (runtime-core.esm-bundler.js?5c40:761:1) at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js?5c40:4599:1) at ReactiveEffect.run (reactivity.esm-bundler.js?a1e9:160:1) at updateComponent (runtime-core.esm-bundler.js?5c40:4472:1) at processComponent (runtime-core.esm-bundler.js?5c40:4405:1)

this is my code

<paginate v-model="in_pageIndex" :page-count="PageCount" :page-range="3" :margin-pages="2" :prev-text="'قبلی'" :next-text="'بعدی'" :first-last-button="true" :first-button-text="'اول'" :last-button-text="'آخر'" :container-class="'pagination pagination-primary pagination-lg'" :page-class="'page-item'"> </paginate> thank you

mmhashemi commented 2 years ago

I resolved it remove package and then install again :) fixed.

ncperng commented 2 years ago

Sorry for the late response and thank you for your solution.