Skip to content

Commit

Permalink
fix: 特别更改之农业银行
Browse files Browse the repository at this point in the history
fix: -
  • Loading branch information
youngster-yj committed Jul 19, 2024
1 parent fce98fd commit d7714df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/renderer/src/main/src/pages/EnterpriseJudgeLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const EnterpriseJudgeLogin: React.FC<EnterpriseJudgeLoginProps> = (props) => {
const {setJudgeLicense, setJudgeLogin} = props
// License
// const [licenseVerified, setLicenseVerified] = useState<boolean>(false)
const [activateLicense, setActivateLicense] = useState<boolean>(false)
const [activateLicense, setActivateLicense] = useState<boolean>(true)
const [loading, setLoading] = useState<boolean>(true)
const [licensePageLoading, setLicensePageLoading] = useState<boolean>(false)
useEffect(() => {
Expand Down Expand Up @@ -96,7 +96,7 @@ const EnterpriseJudgeLogin: React.FC<EnterpriseJudgeLoginProps> = (props) => {
<ConfigPrivateDomain
enterpriseLogin={true}
onSuccee={() => setJudgeLicense(false)}
skipShow={isEnpriTrace()||isEnpriTraceAgent()}
// skipShow={isEnpriTrace()||isEnpriTraceAgent()}
/>
</div>
) : (
Expand Down
6 changes: 3 additions & 3 deletions app/renderer/src/main/src/pages/MainOperator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,11 @@ const Main: React.FC<MainProp> = React.memo((props) => {
if (isCommunityEdition()) {
return ""
} else if (userInfo.isLogin) {
return userInfo.companyName || ""
return "农业银行专用"
} else if (isEnpriTrace()) {
return "EnpriTrace-试用版"
return "农业银行专用"
} else if (isEnpriTraceAgent()) {
return "EnpriTraceAgent-试用版"
return "农业银行专用"
}
return ""
}
Expand Down
4 changes: 2 additions & 2 deletions app/renderer/src/main/src/utils/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ export const loginOutLocal = (userInfo: UserInfoProps) => {
OnlineBaseUrl
})
.finally(() => {
ipcRenderer.send("user-sign-out")
ipcRenderer.send("user-sign-out",{isEnpriTrace:isEnpriTrace()})
emiter.emit("onRefLocalPluginList", "")
})
} else {
ipcRenderer.send("user-sign-out")
ipcRenderer.send("user-sign-out",{isEnpriTrace:isEnpriTrace()})
}
})
}
Expand Down

0 comments on commit d7714df

Please sign in to comment.