i'm using render with vue.js and iview, today when i use it, i find it doesn't work
{
title: 'title1',
key: 'order',
render:(h, params) => params.index + 1
}
then I try to use it in another way, it works.
{
title: 'title1',
key: 'order',
render:(h,params) => h('span', params.index + 1)
}
but the first way used to work days ago, i don't know why how can i make the first way available?