FileChooser.cancel() 方法 关闭文件选择器而不选择任何文件。 签名 class FileChooser { cancel(): Promise<void>; } 返回值: Promise<void>