请教:jsx函数式组件中写slot-scope好像不对,报这个错"TypeError: Invalid attempt to spread non-iterable instance"
jsx函数式组件中写slot-scope好像不对,报这个错"TypeError:Invalidattempttospreadnon-iterableinstance",请问正确的写法是怎样的{...{scopedSlots:{icon:props=>{console.log(props);return();}}}}