Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
reservation-service
Commits
072ac265
Commit
072ac265
authored
Oct 10, 2020
by
Lee Jin Ju
Browse files
오앙
parent
aa7c32f6
Changes
1
Show whitespace changes
Inline
Side-by-side
server/client/src/Components/Schedule.js
View file @
072ac265
...
@@ -16,9 +16,9 @@ function Cal(calledday) {
...
@@ -16,9 +16,9 @@ function Cal(calledday) {
});
});
useEffect
(()
=>
{
useEffect
(()
=>
{
const
cal
=
calendarRef
.
current
.
getInstance
();
//
const cal = calendarRef.current.getInstance();
cal
.
setDate
(
new
Date
(
day
));
//
cal.setDate(new Date(day));
cal
.
changeView
(
'
week
'
,
false
);
//
cal.changeView('week', false);
// cal.today(new Date(day));
// cal.today(new Date(day));
// calendar.on('clickSchedule', function (event) {
// calendar.on('clickSchedule', function (event) {
...
...
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