diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 20abb4ff..987a77e1 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -1794,6 +1794,10 @@ export default { reset: "System Reset", resetInstruction: "A system reset will erase all data in the current system, please proceed with caution!!!!", resetTipContent: 'Are you sure you want to clear all data from the current system and insist on continuing?', + homeInstruction:'Set the system home page', + home: 'System home page', + homeTip:'Do you want to submit the current interface as the system interface?', + homeSet:'System home page Settings', }, role:{ allScopeOptions:'All data permissions', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index f5b539a1..3fe0f64f 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -1794,6 +1794,10 @@ export default { reset: "系统重置", resetInstruction: "系统重置将会清除当前系统内所有数据,请谨慎操作!!!", resetTipContent: '确认要清除当前系统内所有数据并坚持继续吗?', + homeInstruction:'设置系统首页界面', + home: '系统首页', + homeTip:'确认要提交当前界面为系统界面吗?', + homeSet:'系统首页设置', }, role:{ allScopeOptions:'全部数据权限', diff --git a/src/views/index.vue b/src/views/index.vue index 49609860..d4e24ac8 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,10 +1,6 @@ diff --git a/src/views/system/setting/components/change-home-index.vue b/src/views/system/setting/components/change-home-index.vue new file mode 100644 index 00000000..cf11ab29 --- /dev/null +++ b/src/views/system/setting/components/change-home-index.vue @@ -0,0 +1,104 @@ + + + + + diff --git a/src/views/system/setting/index.vue b/src/views/system/setting/index.vue index 6c241186..06f44345 100644 --- a/src/views/system/setting/index.vue +++ b/src/views/system/setting/index.vue @@ -7,6 +7,7 @@ import ChangeCopyright from './components/change-copyright.vue'; import ChangeHelpDoc from './components/change-help-doc.vue'; import ChangeOfficialUrl from './components/change-official-url.vue'; import ChangeI18n from './components/change-i18n.vue'; +import ChangeHome from './components/change-home-index.vue'; import SystemReset from './components/system-reset.vue'; import useI18n from '@/hooks/useI18n'; const { t } = useI18n(); @@ -49,6 +50,10 @@ const { t } = useI18n(); + + {{ t('views.system.setting.homeSet') }} + + {{ t('views.system.setting.reset') }}