Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
7351ecb7ce76d2e50896929b4f9e619d027590e1
1 parent
dfa0823d
资讯
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
apps/editorial/models/editorial.js
apps/editorial/models/editorial.js
View file @
7351ecb
...
...
@@ -5,8 +5,7 @@ const serviceAPI = global.yoho.ServiceAPI;
const
camelCase
=
global
.
yoho
.
camelCase
;
const
_
=
require
(
'lodash'
);
const
logger
=
global
.
yoho
.
logger
;
// const helpers = global.yoho.helpers;
//const helpers = global.yoho.helpers;
const
_processNavData
=
(
list
,
type
)
=>
{
let
formatData
=
[];
...
...
@@ -32,11 +31,11 @@ const _processNavData = (list, type) => {
};
const
_processListData
=
(
list
)
=>
{
//
let formatData = [];
//let formatData = [];
list
=
list
||
[];
//
list = camelCase(list);
//list = camelCase(list);
'2016年06月02日 15:56'
.
match
(
/^
(\d
+
)
年
(\d
+
)
月
(\d
+
)
日
(\d
+
)
:
(\d
+
)
$/
,
function
(
data
)
{
console
.
log
(
data
);
...
...
Please
register
or
login
to post a comment