delete insert selesai, show data masih belum sesuai

This commit is contained in:
2025-06-08 11:25:59 +07:00
parent 5d1301ddae
commit cabb052b21
12 changed files with 90 additions and 130 deletions
+9
View File
@@ -0,0 +1,9 @@
export default defineEventHandler(async (event) => {
const body = await readBody(event)
const res = await $fetch(`http://10.10.150.131:8080/api/menu/delete/${body.key}`, {
method: "DELETE",
headers: {"Content-Type": "application/json"},
})
console.log(res)
return res
})