Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jsonleex opened this issue Jun 22, 2024 · 0 comments · Fixed by #684
Closed

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

jsonleex opened this issue Jun 22, 2024 · 0 comments · Fixed by #684
Labels
bug Something isn't working

Comments

@jsonleex
Copy link
Contributor

🐛 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:

const params = useVModel(props, 'modelValue', emit, { passive: true })

<NButton
v-if="params.length"
icon="carbon-trash-can" n="sm red"
my1 px-3 @click="params = []"
>
Remove All
</NButton>

🛠️ To reproduce

null

🌈 Expected behavior

It should clear all params

ℹ️ Additional context

No response

@jsonleex jsonleex added the bug Something isn't working label Jun 22, 2024
jsonleex added a commit to jsonleex/devtools that referenced this issue Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant