diff --git a/src/components/XyDialog/index.vue b/src/components/XyDialog/index.vue index 32bda2d..526e4af 100644 --- a/src/components/XyDialog/index.vue +++ b/src/components/XyDialog/index.vue @@ -152,6 +152,7 @@ export default { } return ( { const isScroll = this.$refs['listItems']?.$el?.getBoundingClientRect()?.height > this.$refs['elScrollbar']?.$el?.getBoundingClientRect()?.height; - if (isScroll) { + //无需滚动 + if (false) { if (this.scrollTimer) { clearInterval(this.scrollTimer) } diff --git a/src/views/bigScreen1/component/toDo.vue b/src/views/bigScreen1/component/toDo.vue index 49397fd..81a737d 100644 --- a/src/views/bigScreen1/component/toDo.vue +++ b/src/views/bigScreen1/component/toDo.vue @@ -285,7 +285,8 @@ export default { this.$nextTick(() => { const isScroll = this.$refs['listItems']?.$el?.getBoundingClientRect()?.height > this.$refs['elScrollbar']?.$el?.getBoundingClientRect()?.height; - if (isScroll) { + //无需滚动 + if (false) { if (this.scrollTimer) { clearInterval(this.scrollTimer) } diff --git a/src/views/bigScreen1/index.vue b/src/views/bigScreen1/index.vue index 74e62d5..c933980 100644 --- a/src/views/bigScreen1/index.vue +++ b/src/views/bigScreen1/index.vue @@ -1,5 +1,8 @@