修改前端js通过字段名获取字段值

main
youHong.ai 2022-12-13 18:13:44 +08:00
parent 4170596ba1
commit 7caba0236e
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ window.Utils = {
* @returns {*} 字段值
*/
getFiledValueByName: function (fieldName, rowIndex) {
return WfForm.getFieldValue(Utils.convertNameObjToId(fieldName) + rowIndex ? '_' + rowIndex : '')
return WfForm.getFieldValue(Utils.convertNameObjToId(fieldName) + (rowIndex ? '_' + rowIndex : ''))
},
/**