更新日历功能

This commit is contained in:
2026-09-24 15:14:30 +08:00
parent c5ed596008
commit bc9e32d62a
13 changed files with 1446 additions and 6 deletions
@@ -176,6 +176,11 @@ const props = defineProps({
draft: {
type: Object,
default: null
},
// 新建时预填的标题(如从节假日快捷新建,预填节日名称)
prefillTitle: {
type: String,
default: ""
}
});
@@ -367,7 +372,7 @@ function initForm() {
}
} else {
editingId.value = 0;
form.title = "";
form.title = props.prefillTitle || "";
form.schedule_date = props.defaultDate || "";
form.all_day = true;
form.start_time = "";