diff --git a/src/ui/pages/add/search.vue b/src/ui/pages/add/search.vue index add60148..bf364a17 100644 --- a/src/ui/pages/add/search.vue +++ b/src/ui/pages/add/search.vue @@ -366,8 +366,8 @@ const search = async (init = true) => { const result = await Usecase.searchCourse(ports)( year.value, - keyword.value.split("/\s/"), - code.value.split("/\s/"), + keyword.value.split(/\s/), + code.value.split(/\s/), timetable, onlyBlank.value, "Cover",