Home > SYS_FileSystem > openReadFileDialog
SYS_FileSystem.openReadFileDialog() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
打开读入文件窗口
Signature
typescript
openReadFileDialog(filenameExtensions?: string | Array<string>): Promise<File | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
filenameExtensions | string | Array<string> | (Optional) 文件扩展名 |
Returns
Promise<File | undefined>
File 格式文件