From 291b0107a031282e92d1d1fc0a9d3a3dc8229b85 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 五月 2024 11:46:00 +0800 Subject: [PATCH] 2024-05-16 --- src/tabviews/zshare/actionList/index.jsx | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx index 3993d7e..8e213d8 100644 --- a/src/tabviews/zshare/actionList/index.jsx +++ b/src/tabviews/zshare/actionList/index.jsx @@ -19,7 +19,7 @@ const FuncZip = asyncComponent(() => import('./funczip')) const EditLine = asyncComponent(() => import('./editLine')) const ExportPdf = asyncComponent(() => import('./exportPdf')) -const ShareLink = asyncComponent(() => import('./shareLink')) +const FuncButton = asyncComponent(() => import('./funcbutton')) class ActionList extends Component { static propTpyes = { @@ -197,26 +197,26 @@ btn={item} /> ) - } else if (item.funcType === 'shareLink') { + } else if (item.funcType === 'addline' || item.funcType === 'delline') { return ( - <ShareLink + <EditLine + key={item.uuid} + disabled={false} + btn={item} + selectedData={selectedData} + /> + ) + } + } else { + return ( + <FuncButton key={item.uuid} BID={BID} btn={item} selectedData={selectedData} /> ) - } else if (item.funcType === 'addline' || item.funcType === 'delline') { - return ( - <EditLine - key={item.uuid} - disabled={false} - btn={item} - selectedData={selectedData} - /> - ) } - } return null }) } -- Gitblit v1.8.0