You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature or optimization description
我的项目中使用该组件时是处于全屏状态,当侧边栏收起和展开时有过渡效果所以展开收起侧边栏的时候屏幕或视口尺寸变化是一个耗时操作不是瞬间完成,中间可能会触发该终端组件的频繁重绘导致页面会有卡顿,我想到on-resize的事件中给一个回调函数,该函数调用时才会重绘,这样组件重绘操作交给用户,这样用户可以做防抖措施,或者作者有什么更好的方法也可以。 Applicable scene