fix: repeatAfter initial modelValue
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2022-05-21 00:16:29 +02:00
parent 2c270d063e
commit 410c78fcf5
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ import TaskModel from '@/models/task'
const props = defineProps({ const props = defineProps({
modelValue: { modelValue: {
default: () => {}, default: () => ({}),
required: true, required: true,
}, },
disabled: { disabled: {
@ -72,7 +72,7 @@ const props = defineProps({
const emit = defineEmits(['update:modelValue', 'change']) const emit = defineEmits(['update:modelValue', 'change'])
const task = ref<TaskModel>({}) const task = ref<TaskModel>()
const repeatAfter = reactive({ const repeatAfter = reactive({
amount: 0, amount: 0,
type: '', type: '',