mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-04-11 13:03:17 +08:00
🧧发布 4.5.0 新春版
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
const isLogin = await blobValidate(res.data);
|
||||
if (isLogin) {
|
||||
const blob = new Blob([res.data], { type: 'application/octet-stream' })
|
||||
this.saveAs(blob, decodeURI(res.headers['download-filename']))
|
||||
this.saveAs(blob, decodeURIComponent(res.headers['download-filename']))
|
||||
} else {
|
||||
this.printErrMsg(res.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user