update
This commit is contained in:
+3
-14
@@ -397,19 +397,8 @@ const { data, refresh, pending } = await useFetch(() => "/api/course", {
|
||||
watch(search, () => {
|
||||
query.value = { name: search.value };
|
||||
refresh();
|
||||
console.log("data", data.value.courses.length);
|
||||
//// console.log(search.value.length);
|
||||
});
|
||||
// watch(showSearchBox.value === false, () =>{
|
||||
// // showSearchBox.value = null
|
||||
// console.log('s');
|
||||
// })
|
||||
|
||||
// function logClick(isInside) {
|
||||
// if (isInside) {
|
||||
// console.log("لاگ صحیح: داخل input کلیک شد.");
|
||||
// } else {
|
||||
// showSearchBox.value = false;
|
||||
// }
|
||||
// }
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user