mirror of
https://github.com/fmhy/edit.git
synced 2025-11-28 08:51:08 +11:00
Update Switch.vue
This commit is contained in:
parent
0e0e6e2dd1
commit
3725bb5694
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
import { Switch } from '@headlessui/vue'
|
import { Switch } from '@headlessui/vue'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
|
|
||||||
const enabled = ref(false)
|
const enabled = defineModel({ default: false })
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue