fix: repeatAfter initial modelValue
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
2c270d063e
commit
410c78fcf5
|
@ -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: '',
|
||||
|
|
Reference in New Issue
Block a user