Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.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
wechatapp.shangjiadao.com
Commits
e896dbff
Commit
e896dbff
authored
Oct 28, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/sj-dev-v8' into wxl-develop
parents
eb8e67e1
3289cb88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
main.js
components/calendar/main.js
+6
-6
No files found.
components/calendar/main.js
View file @
e896dbff
...
...
@@ -166,7 +166,7 @@ const conf = {
const
{
todoLabels
}
=
getData
(
'calendar'
)
||
{};
const
{
afterCalendarRender
}
=
getCalendarConfig
();
if
(
todoLabels
&&
todoLabels
instanceof
Array
)
{
conf
.
setTodoLabels
();
conf
.
setTodoLabels
(
{
days
:
todoLabels
}
);
}
if
(
...
...
@@ -530,11 +530,11 @@ const conf = {
if
(
target
.
showTodoLabel
&&
item
.
todoText
)
{
target
.
todoText
=
item
.
todoText
;
}
days
.
forEach
(
day
=>
{
if
(
Number
(
day
.
day
)
===
Number
(
item
.
day
)){
day
.
todoText
=
item
.
todoText
;
}
})
//
days.forEach(day=>{
//
if(Number(day.day) === Number(item.day)){
//
day.todoText = item.todoText;
//
}
//
})
});
const
o
=
{
'calendar.days'
:
days
,
...
...
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