dengliming opened a new issue, #636: URL: https://github.com/apache/shenyu-dashboard/issues/636
## Description `closeModal` sets `currentPage: 1` without re-querying, so the pager shows page 1 above page-N rows. `deleteClick(record)` does `selectedRowKeys.push(record.id)` on the state array, so a per-row delete also deletes every currently checked row and the mutation persists if the request fails. ## Location (Lines refer to `master @ 83969a5`.) - `src/routes/System/Namespace/index.js:119` - `src/routes/System/Namespace/index.js:176-183` ## Impact Users see a pager that does not match the rows after cancelling an edit, and a single-row delete can remove additional namespaces the user had checked earlier. ## Suggested fix Either re-query when resetting the page or do not reset it on cancel; build the delete list as `record ? [record.id] : selectedRowKeys` without mutating state. ## 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]
