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/incubator-shenyu-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 21434e04 fix: fix warning error in console about fontWeight (#212)
21434e04 is described below

commit 21434e04a28f28ab82b3b572a853baf626c42cf5
Author: wjlonger <[email protected]>
AuthorDate: Mon Jun 27 18:38:38 2022 +0800

    fix: fix warning error in console about fontWeight (#212)
    
    Co-authored-by: 吴俊龙 <[email protected]>
---
 src/routes/System/Plugin/index.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/routes/System/Plugin/index.js 
b/src/routes/System/Plugin/index.js
index b10daf19..cc84569f 100644
--- a/src/routes/System/Plugin/index.js
+++ b/src/routes/System/Plugin/index.js
@@ -345,7 +345,7 @@ export default class Plugin extends Component {
           ellipsis: true,
           width: 120,
           render: text => {
-            return <div style={{color: "#260033","font-weight":"bold"}}>{text 
|| "----"}</div>;
+            return <div style={{color: "#260033","fontWeight":"bold"}}>{text 
|| "----"}</div>;
           }
         },
         {
@@ -393,7 +393,7 @@ export default class Plugin extends Component {
                 <br />
                 <Text 
type="secondary">{`${getIntlContent("SHENYU.SYSTEM.UPDATETIME") }: ${ 
record.dateUpdated}`}</Text>
                 <hr />
-                <div style={{ "font-weight":"bold" }}>
+                <div style={{ "fontWeight":"bold" }}>
                   <pre><code>{t}</code></pre>
                 </div>
               </div>
@@ -413,13 +413,13 @@ export default class Plugin extends Component {
           render: text => {
             if (text) {
               return (
-                <div className="open" style={{ "font-weight":"bold" }}>
+                <div className="open" style={{ "fontWeight":"bold" }}>
                   {getIntlContent("SHENYU.COMMON.OPEN")}
                 </div>
               );
             } else {
               return (
-                <div className="close" style={{ "font-weight":"bold" }}>
+                <div className="close" style={{ "fontWeight":"bold" }}>
                   {getIntlContent("SHENYU.COMMON.CLOSE")}
                 </div>
               );

Reply via email to