Update IP restriction messages for clarity in English localization and placeholder text in EditToken component. Enhanced user guidance by specifying that leaving the IP field blank means no restrictions.

This commit is contained in:
1808837298@qq.com committed 2025-01-08 16:52:31 +08:00
1 parent 6f47c4d47f
commit b604cab599
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -401,7 +401,7 @@ const EditToken = (props) => {
<TextArea
label={t('IP白名单')}
name='allow_ips'
placeholder={t('允许的IP,一行一个')}
placeholder={t('允许的IP,一行一个,不填写则不限制')}
onChange={(value) => {
handleInputChange('allow_ips', value);
}}