mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-07 00:17:03 +08:00
🐛 Fix(custom): fix file selection bug in upload page
This commit is contained in:
@@ -153,7 +153,7 @@ function ipcSendFiles (files: FileList) {
|
||||
Array.from(files).forEach(item => {
|
||||
const obj = {
|
||||
name: item.name,
|
||||
path: item.webkitRelativePath
|
||||
path: window.electron.showFilePath(item)
|
||||
}
|
||||
sendFiles.push(obj)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user