Add custom to file types (#11966)

Co-authored-by: yagiyuki <yagiyuki>
This commit is contained in:
yagiyuki
2024-12-23 14:53:46 +09:00
committed by GitHub
parent 02a7ae15f9
commit 4584eb3058
6 changed files with 6 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
- `image` 具体类型包含:'JPG', 'JPEG', 'PNG', 'GIF', 'WEBP', 'SVG'
- `audio` 具体类型包含:'MP3', 'M4A', 'WAV', 'WEBM', 'AMR'
- `video` 具体类型包含:'MP4', 'MOV', 'MPEG', 'MPGA'
- `custom` 具体类型包含:其他文件类型
- `transfer_method` (string) 传递方式:
- `remote_url`: 图片地址。
- `local_file`: 上传文件。