diff --git a/src/views/tool/help/index.vue b/src/views/tool/help/index.vue index 40f72ebd..ae24c2f7 100644 --- a/src/views/tool/help/index.vue +++ b/src/views/tool/help/index.vue @@ -70,7 +70,8 @@ function fnDownload() { fetch(url) .then(response => response.blob()) .then(blob => { - const fileName = url.substring(url.lastIndexOf('/') + 1); + let fileName = url.substring(url.lastIndexOf('/') + 1); + fileName = fileName.split('?')[0]; saveAs(blob, fileName); }) .catch(error => {