[doc] 抢课的空位逻辑判断 #11
ceilf6
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
假如扩课没有扩大容量,而是由管理员控制某段时间可以不受容量限制选课
那么现在 checkTeachingClassCapacity 函数中 "已选人数" < "容量" 的逻辑就会失败
于是我又去观察了 DOM 结构找到了一个
这说明能否选择是根据 “已满” 这个标签是否展示来决定了
于是我优化了检查的逻辑 ca039c2
Beta Was this translation helpful? Give feedback.
All reactions