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 29, 2018
1 parent 95f1b05 commit 59a1532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/grade.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ page {
<block wx:for="{{grades}}" wx:key="index">
<view class="grade-lists">
<view @tap="selectTerm({{index}},{{!item.grades[0].selected}})" class="grade-header">
<text class="title">{{item.grades[0].year}}学年{{item.grades[0].term ? '春' : '秋'}}季学期</text>
<text class="title">{{item.grades[0].year}}~{{item.grades[0].year+1}}学年{{item.grades[0].term ? '春' : '秋'}}季学期</text>
<view>
<view class="info">
<text>必修绩点:{{item.avg.required.gpa}}</text>
Expand Down
2 changes: 1 addition & 1 deletion src/util/grade.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ let cal = function (data, init = 1) {
* @param {String} term_name
*/
let setType = (year, term) => {
calType = (year * 10 + term) >= 20171 ? 1 : 0
calType = (year * 10 + term) >= 20170 ? 1 : 0
}

/**
Expand Down

0 comments on commit 59a1532

Please sign in to comment.