This commit is contained in:
wujinliang
2026-09-17 14:26:41 +08:00
parent 9a8a72b1bd
commit 6c17df2a9b
2 changed files with 3 additions and 0 deletions
@@ -654,6 +654,8 @@ watch(isCreatePage, (isCreate, wasCreate) => {
editingId.value = undefined
replaceForm(quickOrderDraft())
resetEditorValidation()
// The list and create routes reuse this component, so onMounted does not run again.
if (wasCreate === false) void loadPageData()
}, { immediate: true })
watch(detailOpen, (open) => {