完成 区域报告 事件报告 迁移

This commit is contained in:
GGJ
2024-02-28 20:35:20 +08:00
parent 4aaf97fe8b
commit e910584460
16 changed files with 1285 additions and 63 deletions

View File

@@ -86,9 +86,11 @@ function createAxios<Data = any, T = ApiPromise<Data>>(
response => {
removePending(response.config)
options.loading && closeLoading(options) // 关闭loading
if (
response.data.code === 'A0000' ||
response.data.type === 'application/json' ||
response.data.type === 'application/octet-stream' ||
response.data.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
) {
return options.reductDataFormat ? response.data : response