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

Commit

Permalink
fix: update condition (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fine0830 authored Nov 22, 2021
1 parent 9927681 commit 0e2541e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/store/modules/global/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,11 @@ const actions: ActionTree<State, any> = {
params.callback({
condition: {
time: params.duration,
size: 20,
paging: {
pageNum: 1,
pageSize: 20,
needTotal: true,
},
source: {
service: params.service.label,
endpoint: context.state.currentEndpoint.label,
Expand All @@ -257,7 +261,11 @@ const actions: ActionTree<State, any> = {
.callback({
condition: {
time: params.duration,
size: 20,
paging: {
pageNum: 1,
pageSize: 20,
needTotal: true,
},
source: {
service: params.service.label,
serviceInstance: context.state.currentInstance.label,
Expand Down

0 comments on commit 0e2541e

Please sign in to comment.