From 182445f68ca03beb95a90e57867f356fe155126b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 13 十一月 2021 21:14:23 +0800
Subject: [PATCH] 2021-11-13

---
 src/tabviews/custom/index.jsx |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx
index 420caa2..4af465b 100644
--- a/src/tabviews/custom/index.jsx
+++ b/src/tabviews/custom/index.jsx
@@ -39,6 +39,7 @@
 const SettingComponent = asyncComponent(() => import('@/tabviews/zshare/settingcomponent'))
 const PagemsgComponent = asyncComponent(() => import('@/tabviews/zshare/pageMessage'))
 const CustomChart = asyncComponent(() => import('./components/chart/custom-chart'))
+const TimeLine = asyncComponent(() => import('./components/timeline/normal-timeline'))
 
 class CustomPage extends Component {
   static propTpyes = {
@@ -676,7 +677,7 @@
 
           return cell.eleType !== 'button' || skip || permAction[cell.uuid]
         })
-      } else if ((item.type === 'table' && item.subtype === 'tablecard') || item.type === 'carousel') {
+      } else if ((item.type === 'table' && item.subtype === 'tablecard') || item.type === 'carousel' || item.type === 'timeline') {
         item.subcards && item.subcards.forEach(card => {
           let _hasheight = card.style.height && card.style.height !== 'auto'
           card.elements = card.elements.filter(cell => {
@@ -1091,6 +1092,12 @@
             <Balcony config={item} data={data} BID={_bid} menuType={menuType} />
           </Col>
         )
+      } else if (item.type === 'timeline') {
+        return (
+          <Col span={item.width} key={item.uuid}>
+            <TimeLine config={item} data={data} BID={_bid} menuType={menuType} />
+          </Col>
+        )
       } else if (item.type === 'carousel' && item.subtype === 'datacard') {
         return (
           <Col span={item.width} key={item.uuid}>

--
Gitblit v1.8.0