|
@@ -291,7 +291,7 @@ Page({
|
|
|
let id = e.currentTarget.dataset.id;
|
|
|
const index = e.currentTarget.dataset.index
|
|
|
|
|
|
- if(this.data.schoolList[index].hasVisitNum + 1 >= this.data.schoolList[index].maxNum){
|
|
|
+ if(this.data.schoolList[index].hasVisitNum >= this.data.schoolList[index].maxNum){
|
|
|
wx.hideLoading({
|
|
|
success: (res) => {
|
|
|
wx.showToast({
|