Upload System Scaffold
Scenario
This example demonstrates upload orchestration: drag upload, progress feedback, retry, and preview.
- Route:
/examples/upload-system - View:
src/views/examples/scaffold/upload-system/index.vue
Core Capabilities
- Drag-and-drop upload with
a-upload-dragger - Custom upload pipeline via
customRequest - Failure simulation and retry
- Image preview and clear-all actions
Implementation Notes
- Standardize upload states:
uploading/done/error. - Extract retry logic for single and batch files.
- Validate type and size before upload.
- Sync uploaded file references to business entities.
