|
@@ -290,8 +290,9 @@ Page({
|
|
})
|
|
})
|
|
let id = e.currentTarget.dataset.id;
|
|
let id = e.currentTarget.dataset.id;
|
|
const index = e.currentTarget.dataset.index
|
|
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({
|
|
wx.hideLoading({
|
|
success: (res) => {
|
|
success: (res) => {
|
|
wx.showToast({
|
|
wx.showToast({
|