Web UI: Table infinite scroll
This commit is contained in:
parent
bd75eddc8e
commit
c4a38de007
15 changed files with 2965 additions and 1049 deletions
|
@ -4,7 +4,7 @@ export function getAllRouters ({ commit }, params) {
|
|||
commit('getAllRoutersRequest')
|
||||
return TcpService.getAllRouters(params)
|
||||
.then(body => {
|
||||
commit('getAllRoutersSuccess', body)
|
||||
commit('getAllRoutersSuccess', { body, ...params })
|
||||
return body
|
||||
})
|
||||
.catch(error => {
|
||||
|
@ -30,7 +30,7 @@ export function getAllServices ({ commit }, params) {
|
|||
commit('getAllServicesRequest')
|
||||
return TcpService.getAllServices(params)
|
||||
.then(body => {
|
||||
commit('getAllServicesSuccess', body)
|
||||
commit('getAllServicesSuccess', { body, ...params })
|
||||
return body
|
||||
})
|
||||
.catch(error => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue