diff --git a/src/views/Clue/Pool/Comp/DialogClue.vue b/src/views/Clue/Pool/Comp/DialogClue.vue index 69fca4e..35afdf6 100644 --- a/src/views/Clue/Pool/Comp/DialogClue.vue +++ b/src/views/Clue/Pool/Comp/DialogClue.vue @@ -262,7 +262,7 @@ function resetForm() { const placeList = ref([]) async function getSchoolPlace() { const data = await getPlaceList() - placeList.value = data.placeList + placeList.value = data.placeList.filter((it) => it.status == 0 && it.schoolStatus == 0) } const emit = defineEmits(['success']) diff --git a/src/views/Clue/Pool/Comp/DrawerClue.vue b/src/views/Clue/Pool/Comp/DrawerClue.vue index 4eff57c..cd75d81 100644 --- a/src/views/Clue/Pool/Comp/DrawerClue.vue +++ b/src/views/Clue/Pool/Comp/DrawerClue.vue @@ -268,7 +268,7 @@ function followSuccess() { const placeList = ref([]) async function getSchoolPlace() { const data = await getPlaceList() - placeList.value = data.placeList + placeList.value = data.placeList.filter((it) => it.status == 0 && it.schoolStatus == 0) } const defaultLatLng = ref({