From 845e1449926a63dff62601e3f6853407b31345bf Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 14 Feb 2021 14:31:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=99=A8=E4=B8=AD=E5=88=87=E6=8D=A2SC?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E6=A0=8F=E5=90=8E=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ChatRenderer/Ticker.vue | 5 +++++ frontend/src/layout/index.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 @@
- v1.5.1 + v1.5.2-beta