feat: detail static

This commit is contained in:
2025-08-26 00:02:42 +08:00
parent 1e158e111c
commit f184624c33
15 changed files with 1291 additions and 29 deletions

View File

@@ -60,6 +60,7 @@ export default function UploadCover(props: UploadCoverProps) {
const [visible, setVisible] = useState(false)
const onAdd = useCallback((images: CoverImageValue[]) => {
// FIXME: prev is not latest value
onChange(prev => mergeCoverImages(prev, images))
setVisible(false)
}, [value])