Cloudflare pages(vue3) use d1 show 405 Method Not Allowed

cloudflare pages(vue3) use d1 show 405 Method Not Allowed, but localhost show right