You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
392 B
23 lines
392 B
const app = getApp();
|
|
Page({
|
|
data: {
|
|
grades:[],
|
|
page_status:0
|
|
},
|
|
|
|
onLoad: function (options) {
|
|
this.exercise_id = options.exercise_id;
|
|
app.api("exercises.exercise_lists")({exercise_id: this.exercise_id})
|
|
.then(res=>{
|
|
;
|
|
this.setData({ grades: res.exercise_users, page_status: 1})
|
|
})
|
|
},
|
|
|
|
onReady: function () {
|
|
|
|
},
|
|
onShow: function () {
|
|
|
|
}
|
|
}) |