mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-01 11:20:14 +08:00
移除未使用配置
This commit is contained in:
parent
3aab1233bb
commit
c2eac8b8fd
|
|
@ -230,7 +230,7 @@ const SecuritySettings = ({ user, userChange }: any) => {
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger={twoFactorActivated}
|
danger={twoFactorActivated}
|
||||||
onClick={activeOrDeactiveTwoFactor}
|
onClick={activeOrDeactivateTwoFactor}
|
||||||
>
|
>
|
||||||
{twoFactorActivated ? intl.get('禁用') : intl.get('启用')}
|
{twoFactorActivated ? intl.get('禁用') : intl.get('启用')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
|
|
@ -15,29 +15,6 @@ export default {
|
||||||
exclude: [/(\/(en|zh))*\/login/],
|
exclude: [/(\/(en|zh))*\/login/],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
/* I18n configuration, `languages` and `defaultLanguage` are required currently. */
|
|
||||||
i18n: {
|
|
||||||
/* Countries flags: https://www.flaticon.com/packs/countries-flags */
|
|
||||||
languages: [
|
|
||||||
{
|
|
||||||
key: 'pt-br',
|
|
||||||
title: 'Português',
|
|
||||||
flag: '/portugal.svg',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'en',
|
|
||||||
title: 'English',
|
|
||||||
flag: '/america.svg',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'zh',
|
|
||||||
title: intl.get('中文'),
|
|
||||||
flag: '/china.svg',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
defaultLanguage: 'en',
|
|
||||||
},
|
|
||||||
scopes: [
|
scopes: [
|
||||||
{
|
{
|
||||||
name: intl.get('定时任务'),
|
name: intl.get('定时任务'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user