mirror of
https://github.com/elk-zone/elk.git
synced 2025-05-05 14:55:20 +03:00
refactor: replace defineModels with defineModel
This commit is contained in:
parent
e6172ad38b
commit
d23f1d39eb
17 changed files with 35 additions and 56 deletions
components/notification
|
@ -3,9 +3,7 @@ defineProps<{
|
|||
title?: string
|
||||
message: string
|
||||
}>()
|
||||
const { modelValue } = defineModels<{
|
||||
modelValue: boolean
|
||||
}>()
|
||||
const modelValue = defineModel<boolean>({ required: true })
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue