批量更新

This commit is contained in:
2026-09-20 00:19:08 +08:00
parent fa281363fb
commit c5ed596008
47 changed files with 5385 additions and 1199 deletions
@@ -327,6 +327,14 @@ const previewList = computed(() =>
imageList.value.map(img => resolveUrl(img.url))
);
// ---------- 绑定提醒的状态回显与反馈 ----------
// 注意:这两个 ref 必须声明在下方 watch 之前。
// watch 带 immediate:true,会在 setup 执行到该处时立即回调 loadReminderInfo(),
// 而 loadReminderInfo 同步写入 reminderInfo / reminderLoading,
// 若此时它们尚未初始化,会抛出 "Cannot access 'x' before initialization"(暂时性死区)。
const reminderInfo = ref(null);
const reminderLoading = ref(false);
// ---------- 备注:创建 / 修改 / 完成后都可编辑 ----------
const remarkText = ref("");
const remarkSaving = ref(false);
@@ -374,10 +382,7 @@ async function saveRemark() {
}
}
// ---------- 绑定提醒的状态回显与反馈 ----------
const reminderInfo = ref(null);
const reminderLoading = ref(false);
// ---------- 提醒渠道文案映射 ----------
const channelTextMap = {
SMS: "短信",
EMAIL: "邮件",