fix: repeatAfter initial modelValue
This commit is contained in:
parent
17b77c25c1
commit
72925fb938
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ import TaskModel from '@/models/task'
|
|||
|
||||
const props = defineProps({
|
||||
modelValue: {
|
||||
default: () => {},
|
||||
default: () => ({}),
|
||||
required: true,
|
||||
},
|
||||
disabled: {
|
||||
|
@ -72,7 +72,7 @@ const props = defineProps({
|
|||
|
||||
const emit = defineEmits(['update:modelValue', 'change'])
|
||||
|
||||
const task = ref<TaskModel>({})
|
||||
const task = ref<TaskModel>()
|
||||
const repeatAfter = reactive({
|
||||
amount: 0,
|
||||
type: '',
|
||||
|
|
Loading…
Reference in a new issue