refactor: remove binaryImage method from api in preload index

This commit is contained in:
suyao
2025-05-26 18:22:13 +08:00
parent f7e8b1803a
commit 4d48a533b7
-1
View File
@@ -81,7 +81,6 @@ const api = {
download: (url: string, isUseContentType?: boolean) =>
ipcRenderer.invoke(IpcChannel.File_Download, url, isUseContentType),
copy: (fileId: string, destPath: string) => ipcRenderer.invoke(IpcChannel.File_Copy, fileId, destPath),
binaryImage: (fileId: string) => ipcRenderer.invoke(IpcChannel.File_BinaryImage, fileId),
base64File: (fileId: string) => ipcRenderer.invoke(IpcChannel.File_Base64File, fileId),
getPathForFile: (file: File) => webUtils.getPathForFile(file)
},