This commit is contained in:
yj 2024-09-09 11:34:52 +08:00
parent 051481b631
commit 5a8678a3a1
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ const User: React.FC = () => {
}
const fileUpLoad = async (data: { url: string, content: string, fileName: string }): Promise<void> => {
const setting = await JSON.parse(storage.getItem('setting') as string)
if (!setting.isShareSavePath) {
if (setting.isShareSavePath) {
window.electron.selectFilePath({
fileName: data.fileName,
filePath: data.url