Skip to content

IE浏览器下载文件时文件名出现乱码 #45

@LiangYongAI

Description

@LiangYongAI
版本号:

2.4

问题描述:

IE浏览器下载文件时文件名出现乱码,chrome和edge浏览器功能正常
下载文件是用的jeecgListMixin.vue下面函数
downloadFile(text){
if(!text){
this.$message.warning("未知的文件")
return;
}
if(text.indexOf(",")>0){
text = text.substring(0,text.indexOf(","))
}
let url = getFileAccessHttpUrl(text)
window.open(url);
},

问题截图:

image

请问这是什么原因,谢谢帮忙

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions