fix(salon): 完善预约草稿与表单重置

This commit is contained in:
2026-10-31 23:03:13 +08:00
parent 5426df3ef2
commit e52e04685d
8 changed files with 619 additions and 46 deletions
@@ -217,7 +217,7 @@ async function testManualProductImages() {
appointmentDate: '2026-10-21',
manualProductImageFileIds: '44',
manualProductImageUrl: 'https://img.example/legacy.jpg'
} })
}, savedAt: Date.now() })
const legacyDraftPage = createPage()
legacyDraftPage.loadOptions = () => {}
legacyDraftPage.onLoad({})
@@ -233,7 +233,7 @@ async function testManualProductImages() {
fileUrl: 'https://img.example/restored.jpg',
previewUrl: '/tmp/stale-style.jpg'
}]
} })
}, savedAt: Date.now() })
const restoredDraftPage = createPage()
restoredDraftPage.loadOptions = () => {}
restoredDraftPage.onLoad({})