mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-17 03:04:46 +08:00
fix: 指定 IP 输入增加提示信息 (#867)
This commit is contained in:
parent
e95e79b572
commit
5f55a56a9e
@ -1366,6 +1366,7 @@ const message = {
|
|||||||
source: 'Source',
|
source: 'Source',
|
||||||
anyWhere: 'AnyWhere',
|
anyWhere: 'AnyWhere',
|
||||||
address: 'Specified IP',
|
address: 'Specified IP',
|
||||||
|
addressHelper: 'Support IP address or IP segment',
|
||||||
allow: 'Allow',
|
allow: 'Allow',
|
||||||
deny: 'Deny',
|
deny: 'Deny',
|
||||||
addressFormatError: 'Please enter a valid ip address!',
|
addressFormatError: 'Please enter a valid ip address!',
|
||||||
|
@ -1351,6 +1351,7 @@ const message = {
|
|||||||
source: '来源',
|
source: '来源',
|
||||||
anyWhere: '所有 IP',
|
anyWhere: '所有 IP',
|
||||||
address: '指定 IP',
|
address: '指定 IP',
|
||||||
|
addressHelper: '支持输入 IP 或 IP 段',
|
||||||
allow: '放行',
|
allow: '放行',
|
||||||
deny: '屏蔽',
|
deny: '屏蔽',
|
||||||
addressFormatError: '请输入合法的 ip 地址!',
|
addressFormatError: '请输入合法的 ip 地址!',
|
||||||
|
@ -37,7 +37,10 @@
|
|||||||
v-if="dialogData.rowData!.source === 'address'"
|
v-if="dialogData.rowData!.source === 'address'"
|
||||||
prop="address"
|
prop="address"
|
||||||
>
|
>
|
||||||
<el-input v-model="dialogData.rowData!.address" />
|
<el-input
|
||||||
|
:placeholder="$t('firewall.addressHelper')"
|
||||||
|
v-model="dialogData.rowData!.address"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item :label="$t('firewall.strategy')" prop="strategy">
|
<el-form-item :label="$t('firewall.strategy')" prop="strategy">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user