|
|
@ -48,7 +48,10 @@ export default [
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|
response: ({ query }) => {
|
|
|
|
response: ({ query }) => {
|
|
|
|
const { page = 1, pageSize = 20 } = query;
|
|
|
|
const { page = 1, pageSize = 20 } = query;
|
|
|
|
return resultPageSuccess(page, pageSize, demoList);
|
|
|
|
// update-begin--author:liaozhiyang---date:20240730---for:【issues/6943】mock翻页之后数据id和图片没自动刷新
|
|
|
|
|
|
|
|
const pageNo = +(query.pageNo ?? page);
|
|
|
|
|
|
|
|
return resultPageSuccess(pageNo, +pageSize, demoList);
|
|
|
|
|
|
|
|
// update-end--author:liaozhiyang---date:20240730---for:【issues/6943】mock翻页之后数据id和图片没自动刷新
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
] as MockMethod[];
|
|
|
|
] as MockMethod[];
|
|
|
|