mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-25 02:00:21 +08:00
🐛 Fix(custom): await RPC call for download directory selection
This commit is contained in:
@@ -321,7 +321,7 @@ async function initData() {
|
||||
}
|
||||
|
||||
async function handleDownloadDirClick() {
|
||||
const result = triggerRPC<any>(IRPCActionType.MANAGE_SELECT_DOWNLOAD_FOLDER)
|
||||
const result = await triggerRPC<any>(IRPCActionType.MANAGE_SELECT_DOWNLOAD_FOLDER)
|
||||
if (result) {
|
||||
form.value.downloadDir = result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user