From c19822aad86ab848d8e645a8a7bc47edeb96664c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 13 Jul 2019 16:18:44 +0800 Subject: [PATCH] b --- .../PackageIndexNEIBannerConcent.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js index baa1b96a..cede23f5 100644 --- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js +++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js @@ -432,7 +432,7 @@ class PackageIndexNEIBannerConcent extends Component { deadline_at:deadline_at._i, min_price:parseInt(min_price), max_price:parseInt(max_price), - contact_name: contact_name===null?this.props.current_user.username:contact_name, + contact_name: contact_name===null||contact_name===undefined?this.props.current_user.username:contact_name, contact_phone: contact_phone===undefined?this.props.current_user.phone:contact_phone, code:code, publish:types @@ -480,7 +480,7 @@ class PackageIndexNEIBannerConcent extends Component { deadline_at:deadline_at._i, min_price:parseInt(min_price), max_price:parseInt(max_price), - contact_name: contact_name===null?this.props.current_user.username:contact_name, + contact_name: contact_name===null||contact_name===undefined?this.props.current_user.username:contact_name, contact_phone: contact_phone===undefined?this.props.current_user.phone:contact_phone, code:code, publish:types @@ -828,7 +828,7 @@ class PackageIndexNEIBannerConcent extends Component { this.onChangeContact_name(e)} /> @@ -885,7 +885,7 @@ class PackageIndexNEIBannerConcent extends Component { {/**/} - + this.modalCancel()}>X

:""}