From eac19da9e165765f2330b857a7b3d94fea881fb2 Mon Sep 17 00:00:00 2001 From: Yang <964277585@qq.com> Date: Sun, 11 Jan 2026 15:26:06 +0800 Subject: [PATCH] docs(components): [upload] modify the `abort` method description (#23363) docs(components): perfecting the abort method description --- docs/en-US/component/upload.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/en-US/component/upload.md b/docs/en-US/component/upload.md index 9d4884ea3b..6df1cc816f 100644 --- a/docs/en-US/component/upload.md +++ b/docs/en-US/component/upload.md @@ -144,13 +144,13 @@ upload/manual ### Exposes -| Name | Description | Type | -| ------------ | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- | -| abort | cancel upload request. | ^[Function]`(file?: UploadFile) => void` | -| submit | upload the file list manually. | ^[Function]`() => void` | -| clearFiles | clear the file list (this method is not supported in the `before-upload` hook). | ^[Function]`(status?: UploadStatus[]) => void` | -| handleStart | select the file manually. | ^[Function]`(rawFile: UploadRawFile) => void` | -| handleRemove | remove the file manually. `file` and `rawFile` has been merged. `rawFile` will be removed in `v2.2.0`. | ^[Function]`(file: UploadFile \| UploadRawFile, rawFile?: UploadRawFile) => void` | +| Name | Description | Type | +| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- | +| abort | cancel upload request. When a `file` is specified, abort the corresponding pending upload; when no file is specified, abort all pending uploads. | ^[Function]`(file?: UploadFile) => void` | +| submit | upload the file list manually. | ^[Function]`() => void` | +| clearFiles | clear the file list (this method is not supported in the `before-upload` hook). | ^[Function]`(status?: UploadStatus[]) => void` | +| handleStart | select the file manually. | ^[Function]`(rawFile: UploadRawFile) => void` | +| handleRemove | remove the file manually. `file` and `rawFile` has been merged. `rawFile` will be removed in `v2.2.0`. | ^[Function]`(file: UploadFile \| UploadRawFile, rawFile?: UploadRawFile) => void` | ## Type Declarations