|
|
@@ -37,6 +37,10 @@ Page({ |
|
|
|
id: id |
|
|
|
} |
|
|
|
}).then(res => { |
|
|
|
|
|
|
|
that.setData({ |
|
|
|
status: res.data.status |
|
|
|
}); |
|
|
|
if (res && res.data && res.data.activity) { |
|
|
|
that.setData({ |
|
|
|
data: res.data.activity |
|
|
@@ -65,12 +69,6 @@ Page({ |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
if (res && res.data && res.data.status) { |
|
|
|
that.setData({ |
|
|
|
status: res.data.status |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
}).catch(err => { |
|
|
|
wx.showToast({ |
|
|
|
title: err.errMsg, |
|
|
|