File tree 2 files changed +2
-2
lines changed
packages/nutui-taro-demo/src/dentry/pages/calendarcard
src/packages/__VUE/calendarcard/demo
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const onChange = (val: Date) => {
9
9
console .log (val )
10
10
}
11
11
const disableDay = (day : CalendarCardDay ) => {
12
- const d = new Date (` ${day .year }- ${day .month }- ${day .date } ` ).getDay ()
12
+ const d = new Date (` ${day .year }/ ${day .month }/ ${day .date } ` ).getDay ()
13
13
return d === 1 || d === 3
14
14
}
15
15
</script >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const onChange = (val: Date) => {
9
9
console .log (val )
10
10
}
11
11
const disableDay = (day : CalendarCardDay ) => {
12
- const d = new Date (` ${day .year }- ${day .month }- ${day .date } ` ).getDay ()
12
+ const d = new Date (` ${day .year }/ ${day .month }/ ${day .date } ` ).getDay ()
13
13
return d === 1 || d === 3
14
14
}
15
15
</script >
You can’t perform that action at this time.
0 commit comments