Commit 982b741e authored by Edwise's avatar Edwise 🍷

kkk

parent 1d28df64
...@@ -23,20 +23,20 @@ Component({ ...@@ -23,20 +23,20 @@ Component({
*/ */
async getActivityBaseInfoById() { async getActivityBaseInfoById() {
my.showLoading(); my.showLoading();
// const { const {
// success, success,
// data data
// } = await API.getActivityBaseInfoById().catch(r => { } = await API.getActivityBaseInfoById().catch(r => {
// my.hideLoading(); my.hideLoading();
// commonToast(r && r.message) commonToast(r && r.message)
// }) || {}; }) || {};
// if (success) { if (success) {
my.hideLoading(); my.hideLoading();
this.setData({ this.setData({
rule: app.activityInfo.rule rule: data.rule
}) })
// } }
}, },
}, },
didMount(){ didMount(){
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment