diff --git a/frontend/src/views/ScriptEdit.vue b/frontend/src/views/ScriptEdit.vue index cdc0125..5c0a803 100644 --- a/frontend/src/views/ScriptEdit.vue +++ b/frontend/src/views/ScriptEdit.vue @@ -1118,7 +1118,7 @@ const selectLogPath = async () => { return } - const path = await window.electronAPI.selectFolder() + const path = await window.electronAPI.selectFile() if (path) { generalConfig.Script.LogPath = path message.success('日志路径选择成功') @@ -1135,15 +1135,6 @@ const getCardTitle = () => {