nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.79k stars 154 forks source link

fix(server-routes): unable to clear all params #683

Closed jsonleex closed 2 weeks ago

jsonleex commented 2 weeks ago

🐛 The bug

Unable to clear params input by click 'Remove All' button

shot_2024-06-22_18 39 34

This bug maybe cause by @vueuse/useVModel:

https://github.com/nuxt/devtools/blob/df459f9057bd8122c85540c87a53489e5bf9826b/packages/devtools/client/components/ServerRouteInputs.vue#L14

https://github.com/nuxt/devtools/blob/df459f9057bd8122c85540c87a53489e5bf9826b/packages/devtools/client/components/ServerRouteInputs.vue#L134-L140

🛠ī¸ To reproduce

null

🌈 Expected behavior

It should clear all params

ℹī¸ Additional context

No response