Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
biz.qingxiao.com
Commits
1b3147eb
Commit
1b3147eb
authored
Aug 26, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bww-develop' into wxl-develop
parents
9c067139
8668355f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.js
src/pages/index/index.js
+3
-2
No files found.
src/pages/index/index.js
View file @
1b3147eb
...
...
@@ -253,13 +253,14 @@ class StaticCenter extends React.Component {
return
time
>=
that
.
ds
.
state
.
start
&&
time
<=
that
.
ds
.
state
.
end
;
},
});
console
.
log
(
dv
,
'dv'
);
const
cols
=
{
month
:
{
type
:
'time'
,
tickCount
:
10
,
},
};
const
yesterday
=
moment
(
moment
().
subtract
(
6
,
'days'
).
unix
()
*
1000
);
const
today
=
moment
(
moment
().
unix
()
*
1000
);
return
(
<
div
className
=
{
pageStyle
.
container
}
>
<
ClassRoomMgt
...
...
@@ -335,7 +336,7 @@ class StaticCenter extends React.Component {
' 最近7天'
:
[
moment
().
subtract
(
6
,
'days'
),
moment
()],
' 最近三十天 '
:
[
moment
().
subtract
(
29
,
'days'
),
moment
()],
}}
defaultValue
=
{[
moment
(
chartStartDate
),
moment
(
chartEndDate
)
]}
defaultValue
=
{[
yesterday
,
today
]}
disabledDate
=
{
this
.
disabledDate
}
onChange
=
{
this
.
onRangePickerChange
}
allowClear
=
{
false
}
...
...
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