From 06a670976e2145a10ea05207041d3cf3164cd380 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 03 二月 2024 18:13:25 +0800 Subject: [PATCH] Merge branch 'positec' into dms --- src/tabviews/zshare/actionList/index.jsx | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx index 4852e23..3993d7e 100644 --- a/src/tabviews/zshare/actionList/index.jsx +++ b/src/tabviews/zshare/actionList/index.jsx @@ -18,6 +18,8 @@ const FuncMegvii = asyncComponent(() => import('./funcMegvii')) const FuncZip = asyncComponent(() => import('./funczip')) const EditLine = asyncComponent(() => import('./editLine')) +const ExportPdf = asyncComponent(() => import('./exportPdf')) +const ShareLink = asyncComponent(() => import('./shareLink')) class ActionList extends Component { static propTpyes = { @@ -180,14 +182,30 @@ return ( <FuncZip key={item.uuid} - show={item.show || 'actionList'} disabled={false} BID={BID} btn={item} + BData={BData} setting={setting} selectedData={selectedData} /> ) + } else if (item.funcType === 'expPdf') { + return ( + <ExportPdf + key={item.uuid} + btn={item} + /> + ) + } else if (item.funcType === 'shareLink') { + return ( + <ShareLink + key={item.uuid} + BID={BID} + btn={item} + selectedData={selectedData} + /> + ) } else if (item.funcType === 'addline' || item.funcType === 'delline') { return ( <EditLine -- Gitblit v1.8.0