|
@@ -623,7 +623,8 @@ export default {
|
|
|
this.$api.schoolSetting.getStusByClassId(params).then(
|
|
|
(res) => {
|
|
|
if (!res.error) {
|
|
|
- this.classList[this.curClassIndex].students = res.list.length ? res.list[0].students : []
|
|
|
+ this.$set(this.classList[this.curClassIndex],'students',res.list.length ? res.list[0].students : [])
|
|
|
+ // this.classList[this.curClassIndex].students = res.list.length ? res.list[0].students : []
|
|
|
} else {
|
|
|
this.$Message.error('API error!')
|
|
|
}
|