Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mohuishou committed Jun 23, 2018
1 parent b8c8dc8 commit 6a98d32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ page {
<text class="class-info">{{item.sessionArr[0]}}~{{item.sessionArr[item.flex-1]}}</text>
</view>
<view class="card-right">
<text>{{item.building}} {{item.classroom}}</text>
<text>{{item.address}}</text>
</view>
</view>
</block>
Expand Down Expand Up @@ -239,7 +239,8 @@ export default class Index extends wepy.page {
return;
}
const todaySchedule = [];
let today = new Date().getDay() + 1;
// let today = new Date().getDay() + 1;
let today = 3
schedules[today].forEach(e => {
if (e.course_name) {
todaySchedule.push(e);
Expand Down

0 comments on commit 6a98d32

Please sign in to comment.