Open
Description
Vue version
3.4.30
Link to minimal reproduction
Steps to reproduce
- 勾选 "Render Append Option" 的 checkbox, 这时候底部将显示是否传入了 append 插槽
- 切换几次 "Render Append Slot" 的 checkbox, 可以发现底部的内容并没有更新
- Check the "Render Append Option" checkbox, and at this point, the bottom will display whether the append slot has been passed in or not.
- Switching the "Render Append Slot" checkbox several times, you can find that the content at the bottom does not update.
What is expected?
另一种写法, 以同样的方式使用, 这种是没有问题的
Another way of writing it, using the same approach, is perfectly fine.
What is actually happening?
函数式组件无法响应 slot 的切换
Functional components cannot respond to slot switching.
System Info
System: OS: Windows 11 10.0.22631 CPU: (20) x64 13th Gen Intel(R) Core(TM) i9-13900H Memory: 11.29 GB / 31.75 GB Binaries: Node: 20.12.2 - D:\Program Files\nodejs\node.EXE Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD npm: 10.2.5 - D:\Program Files\nodejs\npm.CMD pnpm: 9.4.0 - D:\GitHub\mixte\node_modules\.bin\pnpm.CMD Browsers: Edge: Chromium (120.0.2210.89) Internet Explorer: 11.0.22621.3527 npmPackages: vue: ^3.4.30 => 3.4.30
Any additional comments?
No response