This is an automated email from the ASF dual-hosted git repository.
dengliming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 8e7e561b [fix] not set page to 1 after close plugin edit dailog box
(#522)
8e7e561b is described below
commit 8e7e561b84a74efba0a4c32cc077489684337080
Author: eye-gu <[email protected]>
AuthorDate: Wed Mar 5 12:30:48 2025 +0800
[fix] not set page to 1 after close plugin edit dailog box (#522)
---
src/routes/System/NamespacePlugin/index.js | 2 +-
src/routes/System/Plugin/index.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/routes/System/NamespacePlugin/index.js
b/src/routes/System/NamespacePlugin/index.js
index 3cb23cdf..0fc9f335 100644
--- a/src/routes/System/NamespacePlugin/index.js
+++ b/src/routes/System/NamespacePlugin/index.js
@@ -137,7 +137,7 @@ export default class NamespacePlugin extends Component {
this.setState({ popup: "", currentPage: 1 }, this.query);
return;
}
- this.setState({ popup: "", currentPage: 1 });
+ this.setState({ popup: "" });
};
editClick = (record) => {
diff --git a/src/routes/System/Plugin/index.js
b/src/routes/System/Plugin/index.js
index 9e1fdf97..240470d8 100644
--- a/src/routes/System/Plugin/index.js
+++ b/src/routes/System/Plugin/index.js
@@ -134,7 +134,7 @@ export default class Plugin extends Component {
this.setState({ popup: "", currentPage: 1 }, this.query);
return;
}
- this.setState({ popup: "", currentPage: 1 });
+ this.setState({ popup: "" });
};
editClick = (record) => {