Commit 865fc4d3 authored by youjie's avatar youjie

no message

parent cf446414
...@@ -282,6 +282,14 @@ ...@@ -282,6 +282,14 @@
if (res) { if (res) {
data.StuList = res.Data; data.StuList = res.Data;
data.showStusStr = data.StuList.length > 0 ? `全班(${data.StuList.length}人)` : '暂无可选学员' data.showStusStr = data.StuList.length > 0 ? `全班(${data.StuList.length}人)` : '暂无可选学员'
data.msg.ChooseStuList = []
data.StuList.forEach(x => {
let dataContent = {
StuId: x.StuId,
StuName: x.StuName
}
data.msg.ChooseStuList.push(dataContent)
})
} }
uni.hideLoading() uni.hideLoading()
}) })
......
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