|
@@ -17,6 +17,7 @@ export default {
|
|
|
// Total number of tables returned by the interface field name
|
|
|
totalField: 'totalCount',
|
|
|
},
|
|
|
+
|
|
|
// Number of pages that can be selected
|
|
|
pageSizeOptions: ['10', '20', '50', '80', '100'],
|
|
|
// Default display quantity on one page
|
|
@@ -29,9 +30,9 @@ export default {
|
|
|
if (field && order) {
|
|
|
return {
|
|
|
// The sort field passed to the backend you
|
|
|
- field,
|
|
|
+ sidx: field,
|
|
|
// Sorting method passed to the background asc/desc
|
|
|
- order,
|
|
|
+ order: order.replace('end', ''), //用于适配后端的排序字段
|
|
|
};
|
|
|
} else {
|
|
|
return {};
|