change the text of the unset start and end time in scheduled transaction

This commit is contained in:
MaysWind
2025-06-22 18:07:11 +08:00
parent 57ead2937b
commit 481618037d
14 changed files with 18 additions and 2 deletions
+3
View File
@@ -55,6 +55,7 @@ const props = defineProps<{
readonly?: boolean;
clearable?: boolean;
label?: string;
noDataText?: string;
}>();
const emit = defineEmits<{
@@ -83,6 +84,8 @@ const isYearFirst = computed<boolean>(() => isLongDateMonthAfterYear());
const displayTime = computed<string>(() => {
if (props.modelValue) {
return formatDateToLongDate(props.modelValue);
} else if (props.noDataText) {
return props.noDataText;
} else {
return tt('Unspecified');
}