Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
7 years ago
Commit
19e8eab733b3d2aa0cd902a45604da9ef4ebe5a5
1 parent
541a08f8
family-bug-fixed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
apps/home/models/family.js
public/js/home/family.page.js
apps/home/models/family.js
View file @
19e8eab
...
...
@@ -463,9 +463,7 @@ class familyModel extends global.yoho.BaseModel {
return
b
.
proportion
-
a
.
proportion
;
});
if
(
integralData
.
total
)
{
chartsData
.
total
=
parseInt
(
result
.
data
.
total
,
10
)
<
99999
?
result
.
data
.
total
:
'99999+'
;
}
chartsData
.
total
=
parseInt
(
result
.
data
.
total
,
10
)
<
99999
?
result
.
data
.
total
:
'99999+'
;
_
.
forEach
(
integralData
.
data
,
function
(
data
)
{
list
.
push
({
...
...
public/js/home/family.page.js
View file @
19e8eab
...
...
@@ -160,9 +160,7 @@ class FamilyIndex extends Page {
radius
:
[
this
.
selector
.
chartWidth
*
3
/
10
,
this
.
selector
.
chartWidth
*
43
/
100
],
roseType
:
'radius'
,
center
:
[
'50%'
,
'50%'
],
label
:
{
normal
:
false
},
label
:
false
,
data
:
result
.
list
}
]
...
...
Please
register
or
login
to post a comment