This is an automated email from the ASF dual-hosted git repository.

yui 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 c5e02a41 fix pluginDropDownList (#225)
c5e02a41 is described below

commit c5e02a4158494224f3d08a4ad1a73f61d3f0e12c
Author: Liming Deng <[email protected]>
AuthorDate: Sun Aug 7 17:54:57 2022 +0800

    fix pluginDropDownList (#225)
---
 src/routes/System/PluginHandle/index.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/routes/System/PluginHandle/index.js 
b/src/routes/System/PluginHandle/index.js
index a468dc40..a5e6ebeb 100644
--- a/src/routes/System/PluginHandle/index.js
+++ b/src/routes/System/PluginHandle/index.js
@@ -320,7 +320,7 @@ export default class PluginHandle extends Component {
               if (arr && arr.length > 0) {
                 return <div>{arr[0].name}</div>
               } else {
-                return <div>111</div>
+                return <div>text</div>
               }
             }
           }
@@ -459,7 +459,8 @@ export default class PluginHandle extends Component {
 
   render() {
     const {pluginHandle, loading} = this.props;
-    const {pluginHandleList, total, pluginDropDownList} = pluginHandle;
+    const {pluginHandleList, total} = pluginHandle;
+    const pluginDropDownList = this.state.pluginDict
     const {currentPage, pageSize, selectedRowKeys, pluginId, field, popup, 
columns = []} = this.state;
 
 

Reply via email to