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
ea6e99ff
Commit
ea6e99ff
authored
Oct 31, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix safari invalid date
parent
ffb677e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mock/api.js
mock/api.js
+4
-4
mock/rule.js
mock/rule.js
+2
-2
No files found.
mock/api.js
View file @
ea6e99ff
...
@@ -125,7 +125,7 @@ export const getNotice = [
...
@@ -125,7 +125,7 @@ export const getNotice = [
title
:
titles
[
1
],
title
:
titles
[
1
],
logo
:
avatars
[
1
],
logo
:
avatars
[
1
],
description
:
'
希望是一个好东西,也许是最好的,好东西是不会消亡的
'
,
description
:
'
希望是一个好东西,也许是最好的,好东西是不会消亡的
'
,
updatedAt
:
new
Date
(
'
2017-07-24
11:00:00
'
),
updatedAt
:
new
Date
(
'
2017-07-24
'
),
member
:
'
全组都是吴彦祖
'
,
member
:
'
全组都是吴彦祖
'
,
href
:
''
,
href
:
''
,
memberLink
:
''
,
memberLink
:
''
,
...
@@ -145,7 +145,7 @@ export const getNotice = [
...
@@ -145,7 +145,7 @@ export const getNotice = [
title
:
titles
[
3
],
title
:
titles
[
3
],
logo
:
avatars
[
3
],
logo
:
avatars
[
3
],
description
:
'
那时候我只会想自己想要什么,从不想自己拥有什么
'
,
description
:
'
那时候我只会想自己想要什么,从不想自己拥有什么
'
,
updatedAt
:
new
Date
(
'
2017-07-23
06:23:00
'
),
updatedAt
:
new
Date
(
'
2017-07-23
'
),
member
:
'
程序员日常
'
,
member
:
'
程序员日常
'
,
href
:
''
,
href
:
''
,
memberLink
:
''
,
memberLink
:
''
,
...
@@ -155,7 +155,7 @@ export const getNotice = [
...
@@ -155,7 +155,7 @@ export const getNotice = [
title
:
titles
[
4
],
title
:
titles
[
4
],
logo
:
avatars
[
4
],
logo
:
avatars
[
4
],
description
:
'
凛冬将至
'
,
description
:
'
凛冬将至
'
,
updatedAt
:
new
Date
(
'
2017-07-23
06:23:00
'
),
updatedAt
:
new
Date
(
'
2017-07-23
'
),
member
:
'
高逼格设计天团
'
,
member
:
'
高逼格设计天团
'
,
href
:
''
,
href
:
''
,
memberLink
:
''
,
memberLink
:
''
,
...
@@ -165,7 +165,7 @@ export const getNotice = [
...
@@ -165,7 +165,7 @@ export const getNotice = [
title
:
titles
[
5
],
title
:
titles
[
5
],
logo
:
avatars
[
5
],
logo
:
avatars
[
5
],
description
:
'
生命就像一盒巧克力,结果往往出人意料
'
,
description
:
'
生命就像一盒巧克力,结果往往出人意料
'
,
updatedAt
:
new
Date
(
'
2017-07-23
06:23:00
'
),
updatedAt
:
new
Date
(
'
2017-07-23
'
),
member
:
'
骗你来学计算机
'
,
member
:
'
骗你来学计算机
'
,
href
:
''
,
href
:
''
,
memberLink
:
''
,
memberLink
:
''
,
...
...
mock/rule.js
View file @
ea6e99ff
...
@@ -14,8 +14,8 @@ for (let i = 0; i < 46; i += 1) {
...
@@ -14,8 +14,8 @@ for (let i = 0; i < 46; i += 1) {
description
:
'
这是一段描述
'
,
description
:
'
这是一段描述
'
,
callNo
:
Math
.
floor
(
Math
.
random
()
*
1000
),
callNo
:
Math
.
floor
(
Math
.
random
()
*
1000
),
status
:
Math
.
floor
(
Math
.
random
()
*
10
)
%
4
,
status
:
Math
.
floor
(
Math
.
random
()
*
10
)
%
4
,
updatedAt
:
new
Date
(
`2017-07-
${
Math
.
floor
(
i
/
2
)
+
1
}
${
Math
.
floor
(
i
/
2
)
+
1
}
:00:00
`
),
updatedAt
:
new
Date
(
`2017-07-
${
Math
.
floor
(
i
/
2
)
+
1
}
`
),
createdAt
:
new
Date
(
`2017-07-
${
Math
.
floor
(
i
/
2
)
+
1
}
${
Math
.
floor
(
i
/
2
)
+
1
}
:00:00
`
),
createdAt
:
new
Date
(
`2017-07-
${
Math
.
floor
(
i
/
2
)
+
1
}
`
),
progress
:
Math
.
ceil
(
Math
.
random
()
*
100
),
progress
:
Math
.
ceil
(
Math
.
random
()
*
100
),
});
});
}
}
...
...
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