From 9c7c21e8eacda173feb418bdfe739f7f97358233 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Sun, 29 Mar 2020 17:28:46 +0800 Subject: [PATCH] bug修复 --- SunshineIns/src/fetch/socialQuery.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/SunshineIns/src/fetch/socialQuery.js b/SunshineIns/src/fetch/socialQuery.js index 6fcae23..eabe17c 100644 --- a/SunshineIns/src/fetch/socialQuery.js +++ b/SunshineIns/src/fetch/socialQuery.js @@ -1,6 +1,6 @@ import fetch from './_fetch'; import { message } from 'antd'; -export default ({page,size, taskType, status, startTime,endTime}) => fetch(`api/social/query?size=${size}&page=${page}&taskType=${taskType}&status=${status}&startTime=${startTime}&endTime=${endTime}`) +export default ({ page, size, taskType, status, startTime, endTime }) => fetch(`api/social/query?size=${size}&page=${page}&taskType=${taskType || ''}&status=${status || ''}&startTime=${startTime || ''}&endTime=${endTime || ''}`) .then( json => json ) -- Gitblit v1.8.0