From f74d06cff0e27653c2c5ff33cf3824fa3cfb4464 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 17 三月 2023 15:21:47 +0800 Subject: [PATCH] 2023-03-17 --- src/tabviews/custom/components/timeline/normal-timeline/index.jsx | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/tabviews/custom/components/timeline/normal-timeline/index.jsx b/src/tabviews/custom/components/timeline/normal-timeline/index.jsx index 463c865..bcf11b3 100644 --- a/src/tabviews/custom/components/timeline/normal-timeline/index.jsx +++ b/src/tabviews/custom/components/timeline/normal-timeline/index.jsx @@ -470,6 +470,8 @@ render() { const { config, loading, data, description } = this.state + if (config.wrap.empty === 'hidden' && (!data || data.length === 0)) return null + return ( <div className="normal-timeline-box" id={'anchor' + config.uuid} style={{...config.style}}> {loading ? -- Gitblit v1.8.0