Merge branch 'hugo-shipping-notice' into dev

This commit is contained in:
hugo committed 2026-09-12 22:53:34 +08:00
commit 683f602475
2 files changed
+3 -3

No files matched your search

@@ -1973,7 +1973,7 @@ const save = async (automatic = false) => {
saving.value = true;
saveState.value = 'saving';
const savingChangeVersion = localChangeVersion;
const xfaEpochAtStart = hasValueSourceMapping.value ? valueAdapterDesk.editEpoch.value : 0;
const xfaEpochAtStart = hasValueSourceMapping.value ? valueAdapterDesk.editEpoch : 0;
let saveSucceeded = false;
let shouldRescheduleAutosave = false;
try {
@@ -2013,7 +2013,7 @@ const save = async (automatic = false) => {
// [STEP] PUT 成功即解锁「保存中」;applySavedDraft 不得继续占住保存态。
// 若保存飞行中用户又选了数据源,先抓本地快照,避免随后被服务端旧草稿冲掉。
const concurrentXfaEdit = hasValueSourceMapping.value
&& valueAdapterDesk.editEpoch.value !== xfaEpochAtStart
&& valueAdapterDesk.editEpoch !== xfaEpochAtStart
? valueAdapterDesk.captureConcurrentEditState()
: null;
saving.value = false;
@@ -926,7 +926,7 @@ export function useOrderProfileValueAdapter(options: UseOrderProfileValueAdapter
remappedBindings.push(binding);
continue;
}
const nextLayoutId = String(candidates[0].layout_id);
const nextLayoutId = String(candidates[0]!.layout_id);
didRemapOrphanLayouts = true;
remappedBindings.push({ ...binding, field_layout_id: nextLayoutId });
}