You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by de...@apache.org on 2023/09/23 02:29:16 UTC

[shenyu-dashboard] branch master updated: [Improve] fetch data at componentDidMount (#344)

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 d680ea37 [Improve] fetch data at componentDidMount (#344)
d680ea37 is described below

commit d680ea3701ab8b1c6e262e6e11ac67cee97b94aa
Author: VampireAchao <ac...@gmail.com>
AuthorDate: Sat Sep 23 10:29:11 2023 +0800

    [Improve] fetch data at componentDidMount (#344)
---
 src/routes/System/Alert/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/routes/System/Alert/index.js b/src/routes/System/Alert/index.js
index 9bf1c2e6..250bdadf 100644
--- a/src/routes/System/Alert/index.js
+++ b/src/routes/System/Alert/index.js
@@ -38,7 +38,7 @@ export default class Alert extends Component {
     };
   }
 
-  componentWillMount() {
+  componentDidMount() {
     this.getAllAlerts();
   }