Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 0e2541e

Browse files
authored
fix: update condition (#562)
1 parent 9927681 commit 0e2541e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/store/modules/global/selectors.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ const actions: ActionTree<State, any> = {
237237
params.callback({
238238
condition: {
239239
time: params.duration,
240-
size: 20,
240+
paging: {
241+
pageNum: 1,
242+
pageSize: 20,
243+
needTotal: true,
244+
},
241245
source: {
242246
service: params.service.label,
243247
endpoint: context.state.currentEndpoint.label,
@@ -257,7 +261,11 @@ const actions: ActionTree<State, any> = {
257261
.callback({
258262
condition: {
259263
time: params.duration,
260-
size: 20,
264+
paging: {
265+
pageNum: 1,
266+
pageSize: 20,
267+
needTotal: true,
268+
},
261269
source: {
262270
service: params.service.label,
263271
serviceInstance: context.state.currentInstance.label,

0 commit comments

Comments
 (0)