|
@@ -290,8 +290,9 @@ Page({
|
|
|
})
|
|
|
let id = e.currentTarget.dataset.id;
|
|
|
const index = e.currentTarget.dataset.index
|
|
|
+ const cIndex = e.currentTarget.dataset.cindex
|
|
|
|
|
|
- if(this.data.schoolList[index].hasVisitNum >= this.data.schoolList[index].maxNum){
|
|
|
+ if(this.data.schoolList[index].items[cIndex].hasVisitNum >= this.data.schoolList[index].items[cIndex].maxNum){
|
|
|
wx.hideLoading({
|
|
|
success: (res) => {
|
|
|
wx.showToast({
|