Merge pull request #2842 from dataease/pr@dev@perf_pom

perf(系统管理-用户管理): 用户批量导入
This commit is contained in:
fit2cloud-chenyw
2022-08-16 14:09:00 +08:00
committed by GitHub
5 changed files with 52 additions and 8 deletions

View File

@@ -13,11 +13,14 @@ export function execute(options) {
return null
}
options.type = options.type || 'post'
return request({
const param = {
url: options.url,
method: options.type,
loading: true,
data: options.data
})
}
if (options.responseType) {
param.responseType = options.responseType
}
return request(param)
}