This is an automated email from the ASF dual-hosted git repository.
likeguo 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 fee1ee04 !== equlas Unable to meet conditions "" (#249)
fee1ee04 is described below
commit fee1ee04cee0cc4dd5126a80641e8f63a7b032aa
Author: 蒋军 <[email protected]>
AuthorDate: Wed Nov 2 09:10:55 2022 +0800
!== equlas Unable to meet conditions "" (#249)
update value="" throw Uncaught SyntaxError: Unexpected token ')'
---
src/routes/Home/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/routes/Home/index.js b/src/routes/Home/index.js
index 1ad1817e..22bf8b78 100644
--- a/src/routes/Home/index.js
+++ b/src/routes/Home/index.js
@@ -83,7 +83,7 @@ export default class Home extends Component {
<p>the plugin has selector is : <span
style={contextStyle}>{p.selectorCount} </span></p>
<hr />
<div style={contextStyle}>
- <pre><code>{JSON.stringify(JSON.parse(p.config !== null ? p.config
: '{}'), null, 4)}</code></pre>
+ <pre><code>{JSON.stringify(JSON.parse(p.config ? p.config :
'{}'), null, 4)}</code></pre>
</div>
</div>
);