This is an automated email from the ASF dual-hosted git repository.
liuhongyu 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 ccb72b97 fix:mcpServer page blank (#546)
ccb72b97 is described below
commit ccb72b973f9670525068e742ddcee1847d3d2a2e
Author: Wweiei <[email protected]>
AuthorDate: Fri Sep 5 12:20:10 2025 +0800
fix:mcpServer page blank (#546)
---
src/routes/Plugin/McpServer/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/routes/Plugin/McpServer/index.js
b/src/routes/Plugin/McpServer/index.js
index 56745e6b..2f7af710 100755
--- a/src/routes/Plugin/McpServer/index.js
+++ b/src/routes/Plugin/McpServer/index.js
@@ -1154,7 +1154,7 @@ export default class McpServer extends Component {
key: "requestParams",
render: (text) => {
const handle = JSON.parse(text);
- const parameters = handle.parameters;
+ const parameters = handle?.parameters || {};
return (
<Popover
content={