From becba8fb097be2349435fbf52efb924a52e18587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 13 Dec 2019 16:54:52 +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 --- public/react/src/modules/tpm/TPMBanner.js | 6 +++--- .../react/src/modules/tpm/TPMsettings/LearningSettings.js | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index 68c958dba..19e1acfa8 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -398,7 +398,7 @@ class TPMBanner extends Component { hidenpublic=()=>{ this.setState({ Modalstype: true, - Modalstopval: "是否确认撤销公开?", + Modalstopval: "是否确认撤销申请公开?", modalsMidval:" ", ModalsBottomval:" ", ModalCancel: this.ModalCancel, @@ -1095,8 +1095,8 @@ class TPMBanner extends Component { } {shixunsDetails.shixun_status === 2 && shixunsDetails.public===1 && this.props.identity < 5 ? - : "" } diff --git a/public/react/src/modules/tpm/TPMsettings/LearningSettings.js b/public/react/src/modules/tpm/TPMsettings/LearningSettings.js index dfcdda5ba..81de06cfb 100644 --- a/public/react/src/modules/tpm/TPMsettings/LearningSettings.js +++ b/public/react/src/modules/tpm/TPMsettings/LearningSettings.js @@ -127,7 +127,7 @@ export default class Shixuninformation extends Component { } Checkvnc = () => { - console.log(this.state.vnc) + if (this.state.vnc === false) { this.setState({ hide_code: false, @@ -193,7 +193,8 @@ export default class Shixuninformation extends Component { } else { this.setState({ multi_webssh: false, - opensshRadio: null + opensshRadio: null, + hide_code:false }) } this.setState({ @@ -274,7 +275,7 @@ export default class Shixuninformation extends Component { : ""} : ""} - {this.state.vnc === true ? "" :
+ {this.state.vnc === true||this.state.websshshow === false ? "" :
隐藏代码窗口: