Commit 07f70f34 by fukai

修复getValues错误

parent da8206be
...@@ -41,9 +41,9 @@ export default { ...@@ -41,9 +41,9 @@ export default {
return arr.map(item=>{ return arr.map(item=>{
let itemArr = item.split("\t") let itemArr = item.split("\t")
if(itemArr.length > 1) if(itemArr.length > 1)
return {label:itemArr[0]+"\t"+itemArr[1],value:itemArr[0]} return {label:item,value:itemArr[0]}
else else
return {label:itemArr[0],value:itemArr[1]} return {label:itemArr[0],value:itemArr[0]}
}) })
}, },
showBackendErrors(fieldErrors){ showBackendErrors(fieldErrors){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment