Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
Project
Project
Details
Activity
Releases
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
向伟
educationStu
Commits
50122d51
Commit
50122d51
authored
Oct 09, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d55874d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
timeTable.vue
src/pages/course/timeTable.vue
+1
-6
No files found.
src/pages/course/timeTable.vue
View file @
50122d51
...
...
@@ -187,12 +187,7 @@ export default {
let
isShowAllDay
=
ref
(
false
);
let
sliceWeekArr
=
ref
([]);
let
sliceWeek
=
(
item
)
=>
{
let
w
=
0
if
(
item
.
$orig
){
w
=
item
.
$orig
.
week
}
else
{
w
=
item
.
week
}
let
w
=
item
.
$orig
?.
week
??
item
.
week
let
d
=
item
.
$orig
?.
day
||
item
.
day
let
newArr
=
calendar
.
value
.
slice
(
emptyArr
.
length
,
calendar
.
value
.
length
);
let
s
=
d
-
(
w
+
1
)
<=
0
?
0
:
d
-
(
w
+
1
);
...
...
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