wip
This commit is contained in:
@@ -59,6 +59,8 @@ import MkSignin from './signin.vue';
|
||||
import parseAcct from '../../misc/acct/parse';
|
||||
|
||||
export default defineComponent({
|
||||
emits: ['done', 'closed'],
|
||||
|
||||
components: {
|
||||
MkButton,
|
||||
MkInput,
|
||||
|
@@ -28,10 +28,6 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
export default defineComponent({
|
||||
model: {
|
||||
prop: 'value',
|
||||
event: 'change'
|
||||
},
|
||||
props: {
|
||||
value: {
|
||||
type: Boolean,
|
||||
@@ -50,7 +46,7 @@ export default defineComponent({
|
||||
methods: {
|
||||
toggle() {
|
||||
if (this.disabled) return;
|
||||
this.$emit('change', !this.checked);
|
||||
this.$emit('update:value', !this.checked);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user