diff --git a/frontend/src/components/ChatRenderer/Ticker.vue b/frontend/src/components/ChatRenderer/Ticker.vue index d067471..e5f6333 100644 --- a/frontend/src/components/ChatRenderer/Ticker.vue +++ b/frontend/src/components/ChatRenderer/Ticker.vue @@ -102,6 +102,11 @@ export default { methods: { async onTickerItemEnter(el, done) { let width = el.clientWidth + if (width === 0) { + // CSS指定了不显示固定栏 + done() + return + } el.style.width = 0 await this.$nextTick() el.style.width = `${width}px` diff --git a/frontend/src/layout/index.vue b/frontend/src/layout/index.vue index afae039..ad2808b 100644 --- a/frontend/src/layout/index.vue +++ b/frontend/src/layout/index.vue @@ -9,7 +9,7 @@