fix:修改 editendpoint字段使用错误 导致新增 key的值无法被保留的问题

This commit is contained in:
zhangyu
2020-11-10 16:33:05 +08:00
parent 8c89af5f92
commit 8a41b47794
4 changed files with 10 additions and 11 deletions

View File

@@ -485,7 +485,7 @@
this.inputKeyErr.splice(index, 1);
},
validateInput:function(value,index){
if(!/^[a-zA-Z_:][a-zA-Z0-9_:]*/.test(value)){
if(!/[a-zA-Z_:][a-zA-Z0-9_:]*/.test(value)){
this.inputKeyErr.splice(index,1,true)
}else{
this.inputKeyErr.splice(index,1,false)