Typography 排版 组件使用时 同时设置 copyable 跟 ellipsis 会出现警告 Slot "default" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead. #7552
[Vue warn]: Slot "default" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.
at
at
Version
4.1.0
Environment
vue 3.4.23
Reproduction link
https://www.antdv.com/components/typography-cn#api
Steps to reproduce
在项目中使用Typography 组件 <TypographyText :ellipsis="{ tooltip: '提示123232'}" :copyable="{ tooltip: false, text: '1232'}" content="ASD大苏打实打实大苏打实打实大苏打实打实的AS" />
What is expected?
浏览器控制台没有 Vue Warn 警告 提示
What is actually happening?
[Vue warn]: Slot "default" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead. at
at