Skip to content

Commit 09a72f2

Browse files
committed
fix(ui): filter college with empty name
1 parent 45a5584 commit 09a72f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/common/getCourseClassList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { getCollegesList, getMajorsList, getLessonPropertiesList } from "shu-cou
22

33
export const GetCourseClassListMixin = {
44
methods: {
5-
getCollegesList: (p) => getCollegesList(p),
5+
getCollegesList: (p) => getCollegesList(p).filter((v) => v.name !== ""),
66
getMajorsList: (v, p) => getMajorsList(v, p),
77
getLessonPropertiesList: () => getLessonPropertiesList(),
88
}

0 commit comments

Comments
 (0)