Skip to content

Commit

Permalink
fix: 移除水印
Browse files Browse the repository at this point in the history
  • Loading branch information
youngster-yj committed Jun 18, 2024
1 parent abecdc4 commit 0729858
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/renderer/src/main/src/pages/MainOperator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,15 +419,15 @@ const Main: React.FC<MainProp> = React.memo((props) => {

const waterMarkStr = (): string => {
// 社区版无水印
if (isCommunityEdition()) {
return ""
} else if (userInfo.isLogin) {
return userInfo.companyName || ""
} else if (isEnpriTrace()) {
return "EnpriTrace-试用版"
} else if (isEnpriTraceAgent()) {
return "EnpriTraceAgent-试用版"
}
// if (isCommunityEdition()) {
// return ""
// } else if (userInfo.isLogin) {
// return userInfo.companyName || ""
// } else if (isEnpriTrace()) {
// return "EnpriTrace-试用版"
// } else if (isEnpriTraceAgent()) {
// return "EnpriTraceAgent-试用版"
// }
return ""
}

Expand Down

0 comments on commit 0729858

Please sign in to comment.