change prop name
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
2e85b9c063
commit
0890de3771
|
@ -15,7 +15,7 @@ const props = defineProps({
|
|||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
emitDate: {
|
||||
emitDateFormat: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
|
@ -43,7 +43,7 @@ const value = computed({
|
|||
set(value) {
|
||||
emit(
|
||||
'update:modelValue',
|
||||
props.emitDate ? new Date(value) : joinDateAndTime(value, time.value)
|
||||
props.emitDateFormat ? new Date(value) : joinDateAndTime(value, time.value)
|
||||
);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue