From 81f9dd943549300fb56e7769d33671ef016c5e93 Mon Sep 17 00:00:00 2001 From: yunkexin <760754045@qq.com> Date: Thu, 6 Nov 2025 16:13:47 +0800 Subject: [PATCH] 1 --- src/components/MainPage/GuideCanvas.js | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/components/MainPage/GuideCanvas.js b/src/components/MainPage/GuideCanvas.js index 575e889..59199d8 100644 --- a/src/components/MainPage/GuideCanvas.js +++ b/src/components/MainPage/GuideCanvas.js @@ -40,20 +40,8 @@ class GuideCanvas extends Component { } } ); - if (this.props.login.OrgId == "b043b28b-bbc3-c452-6052-4fba1457abfa") { - this.setState({ visible: "flex" }) - this.state.company = "XLK"; - } else if (this.props.login.OrgId == "d9871ba8-0eec-9e4a-bb87-7d5a540d8913") { - this.state.company = "LYYL"; - } else if (this.props.login.OrgId == "8b3c41aa-51b1-7ce9-1879-248a038c1b5c") { - this.state.company = "DCJD"; - } else if (this.props.login.OrgId == "8f1cf418-8bf3-ea3f-7a6d-fc5d61247008") { - this.state.company = "LYXT"; - } else if (this.props.login.OrgId == "3efd5276-632b-e379-9ff3-7a7546591fca") { - this.state.company = "GXBB"; - } QRCode.toCanvas( - config.h5Web + "#/pages/apply/index?Company=" + this.state.company, + config.h5Web + "#/pages/apply/index?OrgId=" + this.props.login.OrgId, { errorCorrectionLevel: "L", width: 140 }, function (err, canvas) { if (err) throw err; @@ -109,7 +97,7 @@ class GuideCanvas extends Component {