Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复了计算会忽略未知类别课程的bug #182

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

luolananDR
Copy link
Contributor

No description provided.

validCourse.forEach((item: Score) => {
const scorePoint = parseFloat(item.scorePoint);
const credits = parseFloat(item.credits);
// 以 "1/1000 分" 为单位计算绩点,避免浮点数加法导致的精度问题
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你把这个注释删了干嘛?

Comment on lines +201 to +205
.col-picker{
text-align: center;
flex: auto;
margin: 0 auto;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里和上面的 L171~L175 的 .score-bottom-panel .col-picker 重复了?

@j10ccc j10ccc changed the title fix:修复了计算会忽略未知类别课程的bug fix: 修复了计算会忽略未知类别课程的bug Jan 21, 2025
@xixiIBN5100 xixiIBN5100 merged commit c0986da into zjutjh:master Jan 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants