renderComponent: { // 自定义内容 functional: true, render: (h, context) => { const render = context.props.render const params = context.props.params const attrs = context.data.attrs debugger return render(h, params, attrs) }, props: { render: { type: Function, required: true }, params: { type: Object, required: true } } }, 这是自定义的一个函数式组件,在使用它的时候,把当前组件的this传递给它时,打断点看到的是undefined,我不明白是为什么。按理说attrs里的instance应该是传过去的组件实例 * * * 补充:发现如果instance绑定的是一个函数的返回值,就能把this顺利传过去了,这是为什么,或者说在模板里写this指的是什么?