naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

组件文档 出现错误

Open Ale6333499 opened this issue 10 months ago • 1 comments

描述错误

image

复现步骤

在文档中滑入按钮后 切换菜单 不生效,发现控制台报错阻塞

最小复现链接

https://www.naiveui.com/zh-CN/light/components/float-button

系统信息

谷歌浏览器

使用的包管理器

npm

验证

Ale6333499 avatar Apr 02 '24 09:04 Ale6333499

image 我尝试去看了看这个问题,发现把这块的withDirectives去掉就没问题,错误的原因是因为新的vnode.dirs长度多1在循环时无法在旧的vnode.dirs[i]获取有效值。如果有人知道为什么导致请告诉我,我看了一下午没找出来qaq

baicie avatar May 02 '24 11:05 baicie

等待新版发布

jahnli avatar Aug 11 '24 16:08 jahnli