fix: bug#10363

This commit is contained in:
xieyonghong 2023-03-24 16:58:48 +08:00
parent 12e3bf620b
commit 739a044823
2 changed files with 1 additions and 8 deletions

View File

@ -120,7 +120,7 @@ export interface SearchItemData {
export const handleParamsToString = (terms:SearchItemData[] = []) => {
const _terms: any[] = [
{ terms: [null,null,null]},
{ terms: [null,null,null]}
{ terms: [null,null,null], type: 'and'}
]
let termsIndex = 0
let termsStar = 0

View File

@ -191,13 +191,6 @@ request.interceptors.response.use(response => {
response.data.success = status === SUCCESS_CODE
}
// 统一显示异常业务信息
if (status !== SUCCESS_CODE && message) {
Notification.error({
message: 'Server Errors: ' + status,
description: message
})
}
// 如果返回的的是文件流那么return值则为response
if (response.headers['content-type'] === 'application/octet-stream; charset=UTF-8' || response.headers['content-type'] === 'application/vnd.ms-excel;charset=UTF-8') {
return response.data