From fd740730b6d34f591c8dde16c8128ff53dd42c84 Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:55:11 +0800 Subject: [PATCH] Add files via upload --- frontend/src/views/files/Preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 99f80d69..1c359923 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -339,7 +339,7 @@ export default { }, 500), close() { this.$store.commit("updateRequest", {}); - this.$router.go(-1); + history.back(); }, download() { api.download(null, this.$route.path);