fix: repeatAfter initial modelValue #1970

Merged
dpschen merged 1 commits from dpschen/frontend:feature/fix-repeat-after-initial-modelValue into main 2022-05-22 15:44:28 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -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: '',