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
### Uncaught TypeError: Cannot read property 'offsetLeft' of undefined
at a.get (module.js:1)
at De.get (vue.esm.js:3142)
at De.evaluate (vue.esm.js:3249)
at a.currentWidth (vue.esm.js:3507)
at a.slide (module.js:1)
at a.next (module.js:1)
at module.js:1
如何在不重载组件的情况下处理数据的更新?
The text was updated successfully, but these errors were encountered:
需求是进入页面后ajax得到要展示的数据,在前端格式化通过轮播的展示
我经验不足,目前的做法是通过computed处理,把一个长数组分为二维数组。
得到新的对象后,进行渲染
this.carousel.list会根据websocket的消息实时更新长度
这个时候报错
如何在不重载组件的情况下处理数据的更新?
The text was updated successfully, but these errors were encountered: