关于表格组件的 data, fetchData, 以及pagerConfig的使用困惑 #158
ChrisLo0751
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
关于表格组件的 data, fetchData, 以及pagerConfig的使用困惑
本人多次验证,当为data绑定数据时,分页的pagerConfig配置是无效的,如图所示,分页处于数据空的ui效果:
当我绑定了 fetchData 时,分页会自动显示,明显产生了联动
fetchData的代码:
这个fetchData里面涉及了对page对象的数据赋值,所以我猜测是因此产生了联动作用。
以上,我十分的困惑,当使用 data 作为数据源时,该怎么做呢?
Beta Was this translation helpful? Give feedback.
All reactions