处理 ARR和RRR,请求查看详情接口报错之后页面没有给错误提示的问题

This commit is contained in:
renpy 2023-07-28 16:04:56 +08:00
parent ef98b3fda2
commit 05b5e76b8c

View File

@ -73,6 +73,7 @@ export default {
getAction(url, params).then((res) => {
if (res.code && res.code==500) {
_this.fileSrc = ""
this.$message.warning("This operation fails. Contact your system administrator")
} else {
const blob = new Blob([res], { type: 'text/plain' })
_this.fileSrc = window.URL.createObjectURL(blob)