fix(deploy): pin bcrypt==4.3.0 for passlib compat, fix seed model imports, fix AppLayout TS blur handler

This commit is contained in:
kevin-asprec
2026-03-16 14:53:10 +08:00
parent 9ef8f1a421
commit 56ecdbead3
3 changed files with 8 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
<input
v-model="searchQuery"
@focus="showSearch = true"
@blur="setTimeout(() => showSearch = false, 200)"
@blur="onSearchBlur"
@keydown.escape="showSearch = false; searchQuery = ''"
type="text"
placeholder="Search schools, invoices, tickets…"
@@ -96,6 +96,10 @@ watch(searchQuery, (q) => {
}, 300)
})
function onSearchBlur() {
setTimeout(() => { showSearch.value = false }, 200)
}
function navigate(item: any) {
showSearch.value = false
searchQuery.value = ''