Skip to content

Commit

Permalink
fix: 🐛 修复选项插槽的传值
Browse files Browse the repository at this point in the history
  • Loading branch information
YufJi committed Mar 20, 2024
1 parent 4ab38e4 commit ded2436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pickerson/PickerColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export default createComponent({

return (
<li {...data} vusion-slot-name="option">
{this.slots('option', option) ||
{this.slots('option', { ...option, item: option }) ||
(isInDesigner ? <EmptyCol></EmptyCol> : <div {...childData} />)}
</li>
);
Expand Down

0 comments on commit ded2436

Please sign in to comment.