mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 02:00:25 +08:00
6 lines
167 B
TypeScript
6 lines
167 B
TypeScript
export default eventHandler((event) => {
|
|
const { status } = getQuery(event);
|
|
setResponseStatus(event, Number(status));
|
|
return useResponseError(`${status}`);
|
|
});
|