Commit 982b741e authored by Edwise's avatar Edwise 🍷

kkk

parent 1d28df64
......@@ -23,20 +23,20 @@ Component({
*/
async getActivityBaseInfoById() {
my.showLoading();
// const {
// success,
// data
// } = await API.getActivityBaseInfoById().catch(r => {
// my.hideLoading();
// commonToast(r && r.message)
// }) || {};
const {
success,
data
} = await API.getActivityBaseInfoById().catch(r => {
my.hideLoading();
commonToast(r && r.message)
}) || {};
// if (success) {
if (success) {
my.hideLoading();
this.setData({
rule: app.activityInfo.rule
rule: data.rule
})
// }
}
},
},
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