FileChooserFileChooser.cancel版本:23.11.1本頁內容FileChooser.cancel() 方法 關閉檔案選擇器,不選擇任何檔案。 簽名 class FileChooser { cancel(): Promise<void>;} 回傳 Promise<void>