Commit 8983d01b authored by chen shuai's avatar chen shuai

bugfix: fix demo md error

parent 72ce0989
...@@ -17,7 +17,7 @@ const { Secured } = RenderAuthorized('user'); ...@@ -17,7 +17,7 @@ const { Secured } = RenderAuthorized('user');
class TestSecuredString extends React.Component { class TestSecuredString extends React.Component {
render() { render() {
return ( return (
<Alert message="user Passed!" type="success" showIcon />; <Alert message="user Passed!" type="success" showIcon />
) )
} }
} }
......
...@@ -146,7 +146,7 @@ class Gauge extends React.Component { ...@@ -146,7 +146,7 @@ class Gauge extends React.Component {
<div style="width: 300px;text-align: center;font-size: 12px!important;"> <div style="width: 300px;text-align: center;font-size: 12px!important;">
<p style="font-size: 14px; color: rgba(0,0,0,0.43);margin: 0;">${title}</p> <p style="font-size: 14px; color: rgba(0,0,0,0.43);margin: 0;">${title}</p>
<p style="font-size: 24px;color: rgba(0,0,0,0.85);margin: 0;"> <p style="font-size: 24px;color: rgba(0,0,0,0.85);margin: 0;">
${data[0].value * 10}% ${(data[0].value * 10).toFixed(2)}%
</p> </p>
</div>`} </div>`}
/> />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment