changes
This commit is contained in:
@@ -13,7 +13,7 @@ const body = ref({
|
||||
|
||||
async function submit() {
|
||||
isLoading.value = true;
|
||||
const res = await $insertapi("IMEI", body.value);
|
||||
const res = await $insertapi("IMEI", { data: body.value });
|
||||
isLoading.value = false;
|
||||
if (res !== "error") {
|
||||
emit("created");
|
||||
|
||||
Reference in New Issue
Block a user