diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 8edf5cef03..c343186b07 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -492,6 +492,7 @@ export default { click_to_show: '点击显示', click_to_hide: '点击隐藏', basic_settings: '基础设置', + login_settings: '登录设置', and_0_seconds: '0分0秒', time_0_seconds: '分钟(执行时间:0秒)', and_0_seconds_de: '小时(执行时间:0分0秒)', @@ -3080,7 +3081,10 @@ export default { shareDisable: '禁用分享', sharePeRequire: '分享有效期密码必填', defaultSort: '资源默认排序方式', - defaultOpen: '页面打开方式' + defaultOpen: '页面打开方式', + loginLimit: '限制登录', + loginLimitRate: '限制登录失败次数(次)', + loginLimitTime: '限制登录失败时间(分)' }, resource_sort: { time_asc: '按创建时间升序', diff --git a/core/core-frontend/src/views/system/common/InfoTemplate.vue b/core/core-frontend/src/views/system/common/InfoTemplate.vue index 3543a9c8d1..f0e4c81d5a 100644 --- a/core/core-frontend/src/views/system/common/InfoTemplate.vue +++ b/core/core-frontend/src/views/system/common/InfoTemplate.vue @@ -12,7 +12,7 @@ {{ t('commons.edit') }} -
+
{{ t(item.pkey) }} @@ -222,7 +222,7 @@ formatLabel() } } .info-template-container { - padding: 24px; + padding: 24px 24px 0; .info-template-header { display: flex; margin-top: -4px; @@ -286,5 +286,10 @@ formatLabel() } } } + .clearfix::after { + content: ''; + display: table; + clear: both; + } } diff --git a/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue b/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue index 3ff3cacba5..3b7bae9372 100644 --- a/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue +++ b/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue @@ -250,7 +250,8 @@ defineExpose({ item.pkey === 'pwdStrategy' || item.pkey === 'dip' || item.pkey === 'shareDisable' || - item.pkey === 'sharePeRequire' + item.pkey === 'sharePeRequire' || + item.pkey === 'loginLimit' " active-value="true" inactive-value="false" @@ -290,7 +291,14 @@ defineExpose({ type="number" />
-
+
+