yee 7 years ago
parent
commit
1e11c783db

+ 1 - 1
js/component/manageCenter/achievement/techAchievementDesc.jsx

@@ -1586,7 +1586,7 @@ const AchievementDetail = React.createClass({
                                 }} >
                                 <Tabs.TabPane tab="成果详情" key="1">
                                     {(() => {
-                                        if (this.props.data.auditStatus != "0" && this.props.data.auditStatus != "4") {
+                                        if (this.props.data.id && this.props.data.auditStatus != "0" && this.props.data.auditStatus != "4") {
                                             return <AchievementDetailShow
                                                 data={this.props.data}
                                                 detailApiUrl={this.props.detailApiUrl}

+ 1 - 1
js/component/manageCenter/demand/techDemandDesc.jsx

@@ -1386,7 +1386,7 @@ const DemandDetail = React.createClass({
                                 }} >
                                 <Tabs.TabPane tab="需求详情" key="1">
                                     {(() => {
-                                        if (this.props.data.auditStatus != "0" && this.props.data.auditStatus != "4") {
+                                        if (this.props.data.id && this.props.data.auditStatus != "0" && this.props.data.auditStatus != "4") {
                                             return <DemandDetailShow
                                                 data={this.props.data}
                                                 detailApiUrl={this.props.detailApiUrl}