logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

“TypeError: that.$refs.videoItem.getBoundingClientRect is not a function“

获取节点距顶部高度时使用 getBoundingClientRect() 方法报错:vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in nextTick: “TypeError: that.$refs.videoItem.getBoundingClientRect is not a function”搜到的都是在说需要在销毁阶段要取消监听scroll,

vue组件 元素内自动滚动,鼠标移入暂停,支持自己滑动

vue组件 元素内自动滚动,鼠标移入暂停,支持自己滑动<!-- 组件名称: 转发数排行榜--><!--用法:参数说明:使用示例:--><template><div class="component"><divref="forwardScrollBox"class="list_dv"@mouseenter="mouseenter"@mousele

#vue.js#javascript#html5
到底了