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