yee 7 years ago
parent
commit
b4f149c8ca

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

@@ -1332,7 +1332,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}
                                             closeDesc={this.handleCancel}

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

@@ -1097,7 +1097,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}
                                             demandTypeOption={this.props.demandTypeOption}

+ 1 - 1
js/component/certify/personal.jsx

@@ -83,7 +83,7 @@ const Content = Form.create()(React.createClass({
     getInitialState() {
         return {
             loading: false,
-            vsCodeSrc: globalConfig.context + '/open/getVCode'
+            vsCodeSrc: ''
         };
     },
     handleSubmit(e) {

+ 1 - 2
js/component/groupCertify/personal.jsx

@@ -98,7 +98,7 @@ const Content = Form.create()(React.createClass({
             loading: false,
             field: [],
             fileList: [],
-            vsCodeSrc: globalConfig.context + '/open/getVCode'
+            vsCodeSrc: ''
         };
     },
     handleSubmit(e) {
@@ -163,7 +163,6 @@ const Content = Form.create()(React.createClass({
                         this.props.changeStep(2);
                     } else {
                         message.warning(data.error[0].message);
-                        this.reloadVCode();
                         this.setState({
                             loading: false
                         });