From 696868c4a229fd32afe9449ac2e179ac5938ea10 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 14:56:37 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../projectPackages/PackageIndex/PackageConcent.js | 6 +++---
.../PackageIndexNEITaskDetails.js | 11 ++++++-----
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js b/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
index aa048dc8..4e63fb8e 100644
--- a/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
+++ b/public/react/src/modules/projectPackages/PackageIndex/PackageConcent.js
@@ -230,9 +230,9 @@ class PackageConcent extends Component {
- {item.min_price===null?¥{item.min_price}:""}
- {item.max_price===null||item.min_price===null?~:""}
- {item.max_price===null?¥{item.max_price}:""}
+ {item.min_price===null?"":¥{item.min_price}}
+ {item.max_price===null||item.min_price===null?"":~}
+ {item.max_price===null?"":¥{item.max_price}}
{item.min_price===null&&item.max_price===null?可议价:""}
diff --git a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
index 20693711..49335460 100644
--- a/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
+++ b/public/react/src/modules/projectPackages/PackageIndexNEITaskDetails/PackageIndexNEITaskDetails.js
@@ -281,10 +281,11 @@ class PackageIndexNEITaskDetails extends Component {
{data&&data.creator.name}
- {data&&data.creator?this.props.current_user.login===data&&data.creator.login?"":
+ >
{overtype===false?
联系TA:
联系TA}
@@ -306,9 +307,9 @@ class PackageIndexNEITaskDetails extends Component {
- {data&&data.min_price===null?¥{data&&data.min_price}:""}
- {data&&data.max_price===null||data&&data.min_price===null?~:""}
- {data&&data.max_price===null?¥{data&&data.max_price}:""}
+ {data&&data.min_price===null?"":¥{data&&data.min_price}}
+ {data&&data.max_price===null||data&&data.min_price===null?"":~}
+ {data&&data.max_price===null?"":¥{data&&data.max_price}}
{data&&data.min_price===null&&data&&data.max_price===null?可议价:""}