feat:查询条件调整
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
import Request from 'luch-request'
|
||||
import { getBaseUrl, getTenantId } from '@/defaultBaseUrl'
|
||||
import $store from '@/nx/store'
|
||||
import { ApiEncryption } from '@/nx/utils/crypto.js'
|
||||
|
||||
const apiEncryption = new ApiEncryption()
|
||||
import qs from 'qs'
|
||||
|
||||
const options = {
|
||||
// 显示操作成功消息 默认不显示
|
||||
@@ -62,7 +60,10 @@ const http = new Request({
|
||||
// 跨域请求时是否携带凭证(cookies)仅H5支持(HBuilderX 2.6.15+)
|
||||
withCredentials: false,
|
||||
// #endif
|
||||
custom: options
|
||||
custom: options,
|
||||
paramsSerializer(params) {
|
||||
return qs.stringify(params, { arrayFormat: 'indices' })
|
||||
}
|
||||
})
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user