@@ -146,7 +146,7 @@ export function editVerifyTask (data) {
*/
export function getReminderList (data) {
const url = zlbApi.getReminderList;
- return myFetch(url, 'get', data, 'jsonDown');
+ return myFetch(url, 'get', data, 'json');
}
/**
@@ -4,10 +4,6 @@
let requestNum = 0;
const handleReqLoading = (loadingStatus,dataType='json') => {
- // 如果是文件下载,不显示loading
- if(dataType === 'jsonDown'){
- return;
- }
if (loadingStatus) {
requestNum++;
} else {
@@ -8,7 +8,7 @@ export const handleRequest = (reqConfig) => {
const promises = [];
/** 普通请求 */
- if (reqConfig.dataType === 'json' || reqConfig.dataType === 'jsonDown') {
+ if (reqConfig.dataType === 'json') {
const promise = new Promise((resolve, reject) => {
uni.request({
...reqConfig,