|
@@ -244,7 +244,7 @@ export default {
|
|
|
getClassData(val) {
|
|
|
getClass(getFormData({ grade: val })).then((res) => {
|
|
|
this.classList = res.result;
|
|
|
- this.classList.forEach((item) => {
|
|
|
+ this.classList?.forEach((item) => {
|
|
|
this.classIdArr.push(item.class_id);
|
|
|
});
|
|
|
if (!this.bookName) {
|