mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:15:36 +00:00
fix: Fix typo in link target (#4416)
Co-authored-by: Zeke Zhang <958414905@qq.com>
This commit is contained in:
parent
f236e6d29d
commit
570a265e57
@ -42,7 +42,7 @@ export const PoweredBy = () => {
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: parseHTML(
|
||||
customBrandPlugin?.options?.options?.brand ||
|
||||
`Powered by <a href="${urls[i18n.language] || urls['en-US']}" target="__blank">NocoBase</a>`,
|
||||
`Powered by <a href="${urls[i18n.language] || urls['en-US']}" target="_blank">NocoBase</a>`,
|
||||
{ appVersion },
|
||||
),
|
||||
}}
|
||||
|
@ -48,7 +48,11 @@ const SettingsMenu: React.FC<{
|
||||
{
|
||||
key: 'homePage',
|
||||
label: (
|
||||
<a href={isSimplifiedChinese ? 'https://cn.nocobase.com/' : 'https://www.nocobase.com'} target="__blank">
|
||||
<a
|
||||
href={isSimplifiedChinese ? 'https://cn.nocobase.com/' : 'https://www.nocobase.com'}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
{t('Home page')}
|
||||
</a>
|
||||
),
|
||||
@ -58,7 +62,8 @@ const SettingsMenu: React.FC<{
|
||||
label: (
|
||||
<a
|
||||
href={isSimplifiedChinese ? 'https://docs-cn.nocobase.com/handbook' : 'https://docs.nocobase.com/handbook'}
|
||||
target="__blank"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
{t('Handbook')}
|
||||
</a>
|
||||
@ -73,7 +78,8 @@ const SettingsMenu: React.FC<{
|
||||
? 'https://cn.nocobase.com/agreement-cn.html'
|
||||
: 'https://www.nocobase.com/agreement.html'
|
||||
}
|
||||
target="__blank"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
{t('License')}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user