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
P
pro-blocks
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
pro-blocks
Commits
6984ac05
Commit
6984ac05
authored
Jun 25, 2018
by
yoyo837
Committed by
陈帅
Jun 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
See #1729
parent
37221294
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/components/Charts/Pie/index.js
src/components/Charts/Pie/index.js
+7
-3
No files found.
src/components/Charts/Pie/index.js
View file @
6984ac05
...
...
@@ -138,11 +138,15 @@ export default class Pie extends Component {
[
styles
.
legendBlock
]:
legendBlock
,
});
const
{
data
:
propsData
,
selected
:
propsSelected
,
tooltip
:
propsTooltip
}
=
this
.
props
;
const
{
data
:
propsData
,
selected
:
propsSelected
=
true
,
tooltip
:
propsTooltip
=
true
,
}
=
this
.
props
;
let
data
=
propsData
||
[];
let
selected
=
propsSelected
||
true
;
let
tooltip
=
propsTooltip
||
true
;
let
selected
=
propsSelected
;
let
tooltip
=
propsTooltip
;
const
defaultColors
=
colors
;
// let data = this.props.data || [];
...
...
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