feat:中文翻译补充
This commit is contained in:
@@ -2,7 +2,7 @@ import vm from '../../../main'
|
||||
import ca from "element-ui/src/locale/lang/ca";
|
||||
|
||||
export function host(rule, value, callback) {
|
||||
if(!value || value ==''){
|
||||
if(!value || value.trim() ==''){
|
||||
callback();
|
||||
}
|
||||
const hostReg = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])(\:\d{0,5})?$/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -228,7 +228,7 @@ const en = {
|
||||
dropDownLabel:{
|
||||
type:'type',
|
||||
model:'model',
|
||||
dc:'dataCenter'
|
||||
dc:'data center'
|
||||
},
|
||||
},
|
||||
project:{
|
||||
@@ -334,7 +334,7 @@ const en = {
|
||||
assetInfo:'Asset information',//'资产信息'
|
||||
assetType:'Asset type',//'资产类型'
|
||||
impi:{
|
||||
title:'IMPI',
|
||||
title:'IPMI',
|
||||
host:'Host',
|
||||
port:'Port',
|
||||
},
|
||||
@@ -606,7 +606,7 @@ const en = {
|
||||
requiredMibFile:'MIB file is required',
|
||||
vendor:'Vendor',
|
||||
type:'Type',
|
||||
mibBrowser: 'Mib browser',
|
||||
mibBrowser: 'MIB browser',
|
||||
},
|
||||
system:{
|
||||
system:'System',
|
||||
|
||||
Reference in New Issue
Block a user