mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-05 15:37: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() {
|
async function handleDownloadDirClick() {
|
||||||
const result = triggerRPC<any>(IRPCActionType.MANAGE_SELECT_DOWNLOAD_FOLDER)
|
const result = await triggerRPC<any>(IRPCActionType.MANAGE_SELECT_DOWNLOAD_FOLDER)
|
||||||
if (result) {
|
if (result) {
|
||||||
form.value.downloadDir = result
|
form.value.downloadDir = result
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user