We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c46c54c commit 4c33187Copy full SHA for 4c33187
src/components/common/UserAvatar/index.vue
@@ -66,6 +66,6 @@ onMounted(async () => {
66
</span>
67
</NButton>
68
</div>
69
- <Permission :visible="needPermission" />
+ <Permission :visible="needPermission" @update:visible="(newValue) => showPermission = newValue" />
70
71
</template>
src/views/chat/layout/Permission.vue
@@ -199,7 +199,7 @@ async function handleResetPassword() {
199
</script>
200
201
<template>
202
- <NModal :show="visible" style="width: 90%; max-width: 440px">
+ <NModal v-model:show="show" style="width: 90%; max-width: 440px">
203
<div class="p-10 bg-white rounded dark:bg-slate-800">
204
<div class="space-y-4">
205
<header class="space-y-2">
0 commit comments