diff --git a/jeecgboot-vue3/mock/demo/table-demo.ts b/jeecgboot-vue3/mock/demo/table-demo.ts index 81519641..db6b8090 100644 --- a/jeecgboot-vue3/mock/demo/table-demo.ts +++ b/jeecgboot-vue3/mock/demo/table-demo.ts @@ -48,7 +48,10 @@ export default [ method: 'get', response: ({ 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[];