From 4c9e33ce368fbfb4354731d1d448dcc4b7ea6600 Mon Sep 17 00:00:00 2001 From: Aicirou <2643053021@qq.com> Date: Thu, 28 May 2020 21:47:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E4=B8=AD=E5=AD=98=E5=9C=A8#=E6=97=A0=E6=B3=95=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/page/GoList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/page/GoList.vue b/src/views/page/GoList.vue index 75e61e9..672400b 100644 --- a/src/views/page/GoList.vue +++ b/src/views/page/GoList.vue @@ -72,6 +72,7 @@ import { checkoutPath, checkView, checkExtends, + encodePath } from "@utils/AcrouUtil"; import axios from "@/utils/axios"; import { mapState } from "vuex"; @@ -276,7 +277,7 @@ export default { } if (target === "down" || (!checkExtends(path) && !file.isFolder)) { let temp_path = this.$route.params.path ? this.$route.params.path : ""; - location.href = `/${this.$route.params.id}:down/${temp_path}/${file.name}`; + location.href = `/${this.$route.params.id}:down/${temp_path}/${encodePath(file.name)}`; return; } if (target === "view") {