From 58ae2ba21efcd85df331cf996a94038a77302b51 Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Wed, 27 May 2020 17:07:48 +0800 Subject: [PATCH] 修改报错问题 --- SunshineIns/src/fetch/socialCompany.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/SunshineIns/src/fetch/socialCompany.js b/SunshineIns/src/fetch/socialCompany.js index 8f17932..31016c7 100644 --- a/SunshineIns/src/fetch/socialCompany.js +++ b/SunshineIns/src/fetch/socialCompany.js @@ -1,6 +1,6 @@ import fetch from './_fetch'; import { message } from 'antd'; -export default ({ companyName, companyLegal,companyTel,companyAccount, createTime }) => fetch(`api/socialCompany/finds?companyName=${companyName || ''}&companyLegal=${companyLegal || ''}&companyTel=${companyTel || ''}&companyAccount=${companyAccount || ''}&createTime=${createTime || ''}`) +export default ({ companyName, companyLegal,companyTel }) => fetch(`api/socialCompany/finds?companyName=${companyName || ''}&companyLegal=${companyLegal || ''}&companyTel=${companyTel || ''}`) .then( json => json.rows ) -- Gitblit v1.8.0