amis icon indicating copy to clipboard operation
amis copied to clipboard

分页加载数据,默认参数page= 1, perPage=10, 如何动态自己的参数呢

Open wuxin2014 opened this issue 7 years ago • 2 comments

wuxin2014 avatar May 28 '19 09:05 wuxin2014

你意思是设置默认参数还是?

RickCole21 avatar May 28 '19 09:05 RickCole21

api 可以映射数据,比如你可以给 crud 这样配置 api

api: '/api/xxx?p=${page}&pz=${perPage}'

2betop avatar Jun 03 '19 01:06 2betop