diff --git a/public/index.html b/public/index.html
index 374c89a..7f1d6aa 100644
--- a/public/index.html
+++ b/public/index.html
@@ -11,7 +11,7 @@
-
+
diff --git a/src/utils/file-config.js b/src/utils/file-config.js
index 52b3d6a..0fa85e4 100644
--- a/src/utils/file-config.js
+++ b/src/utils/file-config.js
@@ -27,6 +27,7 @@ export default {
// 下载文件
download: function(username, file, token) {
fileApi.isAllowDownload().then(() => {
+ encodeURI()
let url = `${this.baseUrl}/file/${username}${file.path}${encodeURIComponent(file.name)}?jmal-token=${token}&o=download`
window.open(url, '_self')
})