优化 getQuickcommandTempFile

This commit is contained in:
fofolee
2022-04-29 20:48:03 +08:00
parent 7676441678
commit 363a39a36f
2 changed files with 37 additions and 30 deletions

View File

@@ -177,7 +177,7 @@ export default {
argvs: imgUrl,
readfile: false,
});
let imgPath = window.getQuickcommandTempFile(imgInfo.ext);
let imgPath = window.getQuickcommandTempFile(imgInfo.ext, 'TempImgFile');
quickcommand
.downloadFile(imgUrl, imgPath)
.then(() => {