articleMenu treeCell修改
This commit is contained in:
parent
9b04eeb741
commit
37977a80c5
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
|
|||
// });
|
||||
// }
|
||||
// }
|
||||
footer: () => <Space>
|
||||
footer: <Space>
|
||||
<ExtraFileCommit
|
||||
oakPath={oakFullpath}
|
||||
efPaths={[
|
||||
|
|
|
|||
Loading…
Reference in New Issue