1
0
Fork 0
mirror of https://github.com/elk-zone/elk.git synced 2025-05-10 01:02:34 +03:00

refactor: replace defineModels with defineModel

This commit is contained in:
三咲智子 Kevin Deng 2023-08-01 17:43:55 +08:00
parent e6172ad38b
commit d23f1d39eb
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
17 changed files with 35 additions and 56 deletions
components/common

View file

@ -5,9 +5,7 @@ defineProps<{
iconChecked?: string
iconUnchecked?: string
}>()
const { modelValue } = defineModels<{
modelValue?: boolean | null
}>()
const modelValue = defineModel<boolean | null>()
</script>
<template>