diff --git a/components/EntityEdit.vue b/components/EntityEdit.vue index 9efa358..937a416 100644 --- a/components/EntityEdit.vue +++ b/components/EntityEdit.vue @@ -69,7 +69,6 @@ setupCreate() const setupQuery = () => { if(route.query) { - console.log(route.query) Object.keys(route.query).forEach(key => { if(["customer","contract","plant","contact"].includes(key)){ diff --git a/composables/useZipCheck.js b/composables/useZipCheck.js index 5dea80b..7251659 100644 --- a/composables/useZipCheck.js +++ b/composables/useZipCheck.js @@ -1,10 +1,7 @@ - export const useZipCheck = async (zip) => { const supabase = useSupabaseClient() - console.log((await supabase.from("citys").select().eq("zip",Number(zip)).maybeSingle()).data) - const result = (await supabase.from("citys").select().eq("zip",Number(zip)).maybeSingle()).data return result ? result.short : null