✨ feat (patient): add error page for patient add page permission
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user