Commit d024c385 authored by lvtz's avatar lvtz

fix

parents a1f9bc1d 517b8036
...@@ -2391,14 +2391,14 @@ Page({ ...@@ -2391,14 +2391,14 @@ Page({
radioname: data.sign_up_content ? data.sign_up_content.radioname : '', radioname: data.sign_up_content ? data.sign_up_content.radioname : '',
radioList: data.sign_up_content ? data.sign_up_content.radioList : '', radioList: data.sign_up_content ? data.sign_up_content.radioList : '',
lockSubjects: lockSubjects, lockSubjects: lockSubjects,
classes: data.classes.map(ele => ({title: ele.title, id: ele.id})),
lockThemeAdInfo: { lockThemeAdInfo: {
id: (data.land_content && data.land_content.id) || 0, id: (data.land_content && data.land_content.id) || 0,
title: (data.land_content && data.land_content.title) || '' title: (data.land_content && data.land_content.title) || ''
}, },
})
this.setData({
lockSubjectLists: this.data.lockSubjects.slice(this.data.currentSortIndex * 10, this.data.currentSortIndex * 10 + 10), lockSubjectLists: this.data.lockSubjects.slice(this.data.currentSortIndex * 10, this.data.currentSortIndex * 10 + 10),
}) })
console.log(this.data.classes, 'classes');
this.getSubjectSort(); this.getSubjectSort();
} }
}).catch(() => { }).catch(() => {
......
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