Commit 1620a57b authored by jingnan's avatar jingnan 👀

合并产品【7319】【7006】<2>【6968】<2>

parent 1130b6f7
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -13,7 +13,7 @@ import disShowErrorMsg from './disShowErrorMsg'
import guid from '@/utils/util'
let ajaxCount = 0
let loadingInstance
let ajaxTimer = {}
const ajaxTimer = {}
const disShowLadingRequestUrl = [
// '/RepoFileUpload/find/recursion'
'/RepoFileUpload/findWithCondition',
......@@ -307,7 +307,8 @@ function downloadFile(url, type = 'get', params, userAction = true) {
method: type,
url: url, // 请求地址
responseType: 'blob', // 表明返回服务器返回的数据类型
data: params,
// get 的参数名是 params;post 的参数名是 data
[type === 'get' ? 'params' : 'data']: params,
headers: userAction ? { 'X-User-Action': 'user-action' } : {}
}).then(
response => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment