vue2.6.14函数类型的属性无法被识别 #11122
Unanswered
kscnlee
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在data中有这样一个对象:
body:{
columns:[{ field:'ineed',key:'ineed',title:'* 需求数量 *',required:true,idigits:2,width:68,align: 'center',edit: true,mid_edit: true,cEnumString:[],datatype:'数字',creftype:'',crefflag:'',cReturnField:'',bKeyField:false,renderBodyCell:({ row, column, rowIndex }, h)=>{return parseFloat(row[column.field]).toFixed(2);} }...],
...}
运行后renderBodyCell属性为undefined,其他属性均正常。
Beta Was this translation helpful? Give feedback.
All reactions