This commit is contained in:
jxxghp
2023-08-28 17:46:37 +08:00
parent 2e70b61e60
commit 563471ccf5
3 changed files with 10 additions and 7 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ async function loadSystemSettings() {
const result: { [key: string]: any } = await api.get('system/env')
if (result.success)
path.value = result.data?.DOWNLOAD_PATH || '/'
console.log(path.value)
if (path.value && !path.value.endsWith('/'))
path.value += '/'
}
catch (error) {
console.log(error)