From ac7c6cf7f50bdd975c194e89a32301079cbd6a27 Mon Sep 17 00:00:00 2001 From: yuanzhaoK <124442084+yuanzhaoK@users.noreply.github.com> Date: Thu, 20 Jul 2023 09:53:18 +0800 Subject: [PATCH 1/2] fix: fix `isLogined` spelling error --- paas/frontend/app/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paas/frontend/app/src/index.js b/paas/frontend/app/src/index.js index 1919e0dee..a1637d18e 100644 --- a/paas/frontend/app/src/index.js +++ b/paas/frontend/app/src/index.js @@ -67,7 +67,7 @@ app.router(router) } try { const isLogined = await AppService.isLogined() - if (isLogined && islogined['name']) { + if (isLogined && isLogined['name']) { const res = await AppService.getAllProfile(params) let { collectList = [], customQuickList = [], workspaces } = res.profile app.start('#root') From e0e008cc6ee4476e60948e72bc49118f64c0f8b2 Mon Sep 17 00:00:00 2001 From: yuanzhaoK <124442084+yuanzhaoK@users.noreply.github.com> Date: Wed, 26 Jul 2023 17:36:43 +0800 Subject: [PATCH 2/2] fix `findDOMNode` spelling error --- .../framework/src/framework/core/widgets/SRESearch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paas/frontend/packages/framework/src/framework/core/widgets/SRESearch/index.js b/paas/frontend/packages/framework/src/framework/core/widgets/SRESearch/index.js index eb98bce68..d28536811 100644 --- a/paas/frontend/packages/framework/src/framework/core/widgets/SRESearch/index.js +++ b/paas/frontend/packages/framework/src/framework/core/widgets/SRESearch/index.js @@ -89,7 +89,7 @@ class SRESearch extends Component { } handleClickOutside = (evt) => { const { hotKeyWordsVisible } = this.state - const area = ReactDOM.findDomNode(this.currentRef.current) + const area = ReactDOM.findDOMNode(this.currentRef.current) if (!area.contains(evt.target) && hotKeyWordsVisible) { this.navType = '' this.setState({