fix(salon): 完善预约草稿与表单重置
This commit is contained in:
@@ -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({})
|
||||
|
||||
Reference in New Issue
Block a user