关于表格组件的分页使用问题 #148
Closed
ChrisLo0751
started this conversation in
General
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
-
感谢,问题已解决 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
操作步骤:
首先,我为表格组件绑定了一个fetchData方法,由下图可得,已经关联该方法:

那么,接下来就是编写fetchData的方法内容了。我参考tiny-vue的写法进行编写,通过Promise.reslove包装成功的内容返回
打开预览,控制台报错,提示page 为 undefined:

Beta Was this translation helpful? Give feedback.
All reactions