Skip to content

Commit

Permalink
fix: 四川电信资阳专版-文案替换
Browse files Browse the repository at this point in the history
  • Loading branch information
youngster-yj committed Dec 18, 2023
1 parent 8118d38 commit da2a9a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const ConfigPrivateDomain: React.FC<ConfigPrivateDomainProps> = React.mem
setStoreUserInfo(user)
if (data?.next) {
aboutLoginUpload(res.token)
success("企业登录成功")
success("四川电信资阳专版企业登录成功")
onCloseTab()
onClose && onClose()
onSuccee && onSuccee()
Expand All @@ -109,7 +109,7 @@ export const ConfigPrivateDomain: React.FC<ConfigPrivateDomainProps> = React.mem
})
.catch((err) => {
setTimeout(() => setLoading(false), 300)
failed("企业登录失败:" + err)
failed("四川电信资阳专版企业登录失败:" + err)
})
.finally(() => {})
})
Expand Down Expand Up @@ -272,7 +272,7 @@ export const ConfigPrivateDomain: React.FC<ConfigPrivateDomainProps> = React.mem
<div className='icon-box'>
<img src={yakitImg} className='type-icon-img' />
</div>
<div className='title-box'>企业登录</div>
<div className='title-box'>四川电信资阳专版企业登录</div>
</div>
)}
<Form {...layout} form={form} name='control-hooks' onFinish={(v) => onFinish(v)} size='small'>
Expand Down
3 changes: 2 additions & 1 deletion app/renderer/src/main/src/pages/MainOperator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {getRemoteValue, setLocalValue, setRemoteValue} from "@/utils/kv"
import {NetWorkApi} from "@/services/fetch"
import {API} from "@/services/swagger/resposeType"
import {
getReleaseEditionName,
globalUserLogin,
isCommunityEdition,
isEnpriTrace,
Expand Down Expand Up @@ -479,7 +480,7 @@ const Main: React.FC<MainProp> = React.memo((props) => {
} else if (isEnpriTrace()) {
return "EnpriTrace-试用版"
} else if (isEnpriTraceAgent()) {
return "EnpriTraceAgent-试用版"
return getReleaseEditionName()
}
return ""
}
Expand Down

0 comments on commit da2a9a0

Please sign in to comment.