dengliming opened a new issue, #624:
URL: https://github.com/apache/shenyu-dashboard/issues/624
## Description
`auth/reload` forwards `{ name, currentPage, pageSize, namespaceId }`, but
the AppAuth page filters on `appKey` and `phone` (state), so the filter is
dropped on reload. The page's `fetchValue` objects hardcode `pageSize: 20`
while the table's page size defaults to 12; the model reload and the
component's own `closeModal(true)` query then race.
## Location
(Lines refer to `master @ 83969a5`.)
- `src/models/auth.js:154-159`
- `src/routes/System/AppAuth/index.js:88-92,153-157,208-212,273-277`
## Impact
After add/update/enable, the table can show 20 unfiltered rows under a
12-row pager, or lose the active filter.
## Suggested fix
Forward `appKey`/`phone` in `reload`, use the current `pageSize` from state,
and let one of the two refresh paths win (drop the redundant query).
## Related existing
None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]