mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-11 01:23:31 +08:00
fix: 指定 IP 输入增加提示信息 (#867)
This commit is contained in:
parent
e95e79b572
commit
5f55a56a9e
3 changed files with 6 additions and 1 deletions
|
@ -1366,6 +1366,7 @@ const message = {
|
|||
source: 'Source',
|
||||
anyWhere: 'AnyWhere',
|
||||
address: 'Specified IP',
|
||||
addressHelper: 'Support IP address or IP segment',
|
||||
allow: 'Allow',
|
||||
deny: 'Deny',
|
||||
addressFormatError: 'Please enter a valid ip address!',
|
||||
|
|
|
@ -1351,6 +1351,7 @@ const message = {
|
|||
source: '来源',
|
||||
anyWhere: '所有 IP',
|
||||
address: '指定 IP',
|
||||
addressHelper: '支持输入 IP 或 IP 段',
|
||||
allow: '放行',
|
||||
deny: '屏蔽',
|
||||
addressFormatError: '请输入合法的 ip 地址!',
|
||||
|
|
|
@ -37,7 +37,10 @@
|
|||
v-if="dialogData.rowData!.source === '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 :label="$t('firewall.strategy')" prop="strategy">
|
||||
|
|
Loading…
Reference in a new issue