@@ -150,9 +150,11 @@
onMounted(() => {});
const search = () => {
getTimeSilce();
- getDateAndTimeList({ examSiteId: searchModel.examSiteId }).then((res) => {
- tableData.value = res || [];
- });
+ getDateAndTimeList({ examSiteId: searchModel.examSiteId || null }).then(
+ (res) => {
+ tableData.value = res || [];
+ }
+ );
};
watch(
() => searchModel.examSiteId,