From 37977a80c52e34b604059bce3c28aa299f4cda9c Mon Sep 17 00:00:00 2001 From: qsc <3153284618@qq.com> Date: Wed, 25 Oct 2023 16:36:09 +0800 Subject: [PATCH] =?UTF-8?q?articleMenu=20treeCell=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es/components/articleMenu/treeCell/web.pc.js | 4 ++-- lib/components/articleMenu/treeCell/web.pc.js | 4 ++-- src/components/articleMenu/treeCell/web.pc.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/es/components/articleMenu/treeCell/web.pc.js b/es/components/articleMenu/treeCell/web.pc.js index 91ff86b7d..0f570871a 100644 --- a/es/components/articleMenu/treeCell/web.pc.js +++ b/es/components/articleMenu/treeCell/web.pc.js @@ -138,7 +138,7 @@ export default function Render(props) { // }); // } // } - footer: () => _jsxs(Space, { children: [_jsx(ExtraFileCommit, { oakPath: oakFullpath, efPaths: [ + footer: () => (_jsxs(Space, { children: [_jsx(ExtraFileCommit, { oakPath: oakFullpath, efPaths: [ 'extraFile$entity$1', ], afterCommit: () => { modalInstance.destroy(); @@ -149,7 +149,7 @@ export default function Render(props) { else { return false; } - } }), _jsx(Button, { onClick: () => modalInstance.destroy(), children: "\u53D6\u6D88" })] }) + } }), _jsx(Button, { onClick: () => modalInstance.destroy(), children: "\u53D6\u6D88" })] })) }); }, style: { marginRight: 4 } }), _jsxs("div", { className: Styles.name, children: [logo ? (_jsx(Image, { height: 26, width: 26, src: logo, preview: false })) : null, _jsx("div", { style: { marginLeft: 4, overflow: 'hidden', width: '100px', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }, children: row?.name })] })] }) }), _jsx(Divider, { type: "vertical", style: { height: '100%', marginTop: 4, marginBottom: 4 } }), _jsxs("div", { className: Styles.control, children: [!row.parentId && _jsx(Button, { type: "text", onClick: () => { gotoDoc(row?.id); diff --git a/lib/components/articleMenu/treeCell/web.pc.js b/lib/components/articleMenu/treeCell/web.pc.js index 6235beb31..a36035cb6 100644 --- a/lib/components/articleMenu/treeCell/web.pc.js +++ b/lib/components/articleMenu/treeCell/web.pc.js @@ -141,7 +141,7 @@ function Render(props) { // }); // } // } - footer: () => (0, jsx_runtime_1.jsxs)(antd_1.Space, { children: [(0, jsx_runtime_1.jsx)(commit_1.default, { oakPath: oakFullpath, efPaths: [ + footer: () => ((0, jsx_runtime_1.jsxs)(antd_1.Space, { children: [(0, jsx_runtime_1.jsx)(commit_1.default, { oakPath: oakFullpath, efPaths: [ 'extraFile$entity$1', ], afterCommit: () => { modalInstance.destroy(); @@ -152,7 +152,7 @@ function Render(props) { else { return false; } - } }), (0, jsx_runtime_1.jsx)(antd_1.Button, { onClick: () => modalInstance.destroy(), children: "\u53D6\u6D88" })] }) + } }), (0, jsx_runtime_1.jsx)(antd_1.Button, { onClick: () => modalInstance.destroy(), children: "\u53D6\u6D88" })] })) }); }, style: { marginRight: 4 } }), (0, jsx_runtime_1.jsxs)("div", { className: web_pc_module_less_1.default.name, children: [logo ? ((0, jsx_runtime_1.jsx)(antd_1.Image, { height: 26, width: 26, src: logo, preview: false })) : null, (0, jsx_runtime_1.jsx)("div", { style: { marginLeft: 4, overflow: 'hidden', width: '100px', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }, children: row?.name })] })] }) }), (0, jsx_runtime_1.jsx)(antd_1.Divider, { type: "vertical", style: { height: '100%', marginTop: 4, marginBottom: 4 } }), (0, jsx_runtime_1.jsxs)("div", { className: web_pc_module_less_1.default.control, children: [!row.parentId && (0, jsx_runtime_1.jsx)(antd_1.Button, { type: "text", onClick: () => { gotoDoc(row?.id); diff --git a/src/components/articleMenu/treeCell/web.pc.tsx b/src/components/articleMenu/treeCell/web.pc.tsx index 3585882f3..000505c7a 100644 --- a/src/components/articleMenu/treeCell/web.pc.tsx +++ b/src/components/articleMenu/treeCell/web.pc.tsx @@ -274,7 +274,7 @@ export default function Render(props: WebComponentProps + footer: