This commit is contained in:
2025-12-23 10:15:59 +08:00
3 changed files with 52 additions and 3 deletions
@@ -74,11 +74,11 @@ const commonUtil = {
const content = reader.result
// 将字符串解析为 JSON 对象
const jsonObject = JSON.parse(content)
this.$message.error(jsonObject.msg)
ELEMENT.Message.error(jsonObject.msg)
}
reader.readAsText(response.data)
} catch (err) {
this.$message.error("下载文件出错")
ELEMENT.Message.error("下载文件出错")
}
return
}