feat (patient): add error page for patient add page permission

This commit is contained in:
Abizrh
2025-08-13 10:12:12 +07:00
parent 6e5d5863ab
commit db9a87d825
18 changed files with 88 additions and 49 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ async function getPatientList() {
const resp = await xfetch('/api/v1/patient')
console.log('data patient', resp)
if (resp.success) {
data.value = (resp.body as Record<string, any>)['data']
data.value = (resp.body as Record<string, any>).data
}
}