issue:
https://github.com/apache/incubator-shenyu/issues/2020
discuss:
I'm use PageHelper replace CommonPager, but too many changes;
Both the incubator-shenyu-dashboard and the shenyu-admin need to be
changed;
I can't make up my mind;
BY THE WAY:
I verified that it is available in PG/MYSQL
Such as:
1. `Admin` Controller return `new PageInfo<>(pluginService.listByPage(new
PluginQuery(name, enabled, null)))`
2. `Dashboard` plugin.js
effects: {
*fetch(params, { call, put }) {
const { payload } = params;
const json =
yield call(getAllPlugins, payload);
if (json.code === 200) {
let { total,list } =
json.data; //return PageInfo
list =
list.map(item => {
item.key = item.id;
return item;
});
yield put({
type: "savePlugins",
payload: {
total: total,
dataList: list
}
});
}
}