Cat1007

Results 12 comments of Cat1007

对于模板的使用用法,其实有没有办法提供一个配置,也是使用 plugin 触发,减少 popup 的实例,使用一个全局的单例去实现,本质上类似于,获得元素的 over 或者 click 事件后,调用 plugin,对于超多 plugin,但只有一个同时触发的时候,能够以比较低的改造成本获得性能优化的效果

提个pr?我已经毕业了hhh,不再维护了

> > 现在确实每个视频需要花较长时间完成,希望测试后尽快通过~ > > 似乎仓库已经没有人维护了,代码可以直接使用,我自己试过了 可以直接fork出去维护了,我已经毕业了没办法测试是否能够正常运行,已经打不开网页了,后续这个仓库也会 archive 掉

``` "files": [ ..., "./node_modules/@shoelace-style/shoelace/dist/types/vue/index.d.ts" ] ``` I successfully introduced types in this way and got type hints when writing components in the template. However, it seems that auto-completion has...

https://tdesign.tencent.com/vue-next/components/tree-select?tab=api 我猜可以通过 tree 的虚拟滚动实现

有有整过一个类似的

> > 有有整过一个类似的 > > 呼叫呼叫~~~~怎么联系你呢?这个组件代码在哪获取呢?如果没法获取的话麻烦回复一下,多谢啊大佬 晚点有空整理出来吧,到时候整个npm包吧

> `packages/components/hooks/useVirtualScrollNew.ts` 文件中的这个判断是不是本身就没必要,宽度超了,不是应该改变scrollLeft 到 0 吗(滚动到最左侧),需要滚动到顶部吗 > > ```ts > const refreshVirtualScroll = ([{ contentRect }]: [ResizeObserverEntry]) => { > // 如果宽度发生变化,重置滚动位置 > if (params.value.preventResizeRefresh) return; > const maxScrollbarWidth =...