Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
8983d01b
Commit
8983d01b
authored
Mar 22, 2019
by
chen shuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: fix demo md error
parent
72ce0989
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/components/Authorized/demo/secured.md
src/components/Authorized/demo/secured.md
+1
-1
src/components/Charts/Gauge/index.js
src/components/Charts/Gauge/index.js
+1
-1
No files found.
src/components/Authorized/demo/secured.md
View file @
8983d01b
...
...
@@ -17,7 +17,7 @@ const { Secured } = RenderAuthorized('user');
class
TestSecuredString
extends
React
.
Component
{
render
()
{
return
(
<
Alert
message
=
"user Passed!"
type
=
"success"
showIcon
/>
;
<
Alert
message
=
"user Passed!"
type
=
"success"
showIcon
/>
)
}
}
...
...
src/components/Charts/Gauge/index.js
View file @
8983d01b
...
...
@@ -146,7 +146,7 @@ class Gauge extends React.Component {
<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: 24px;color: rgba(0,0,0,0.85);margin: 0;">
${
data
[
0
].
value
*
10
}
%
${
(
data
[
0
].
value
*
10
).
toFixed
(
2
)
}
%
</p>
</div>`
}
/
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment