diff --git a/src/components/ItemTree/index.jsx b/src/components/ItemTree/index.jsx index cc21c21..145e9ff 100644 --- a/src/components/ItemTree/index.jsx +++ b/src/components/ItemTree/index.jsx @@ -331,7 +331,7 @@ const ItemTree = (prop) => { // 是否自动展开父节点 autoExpandParent={autoExpandParent} showIcon={true} - // selectedKeys={[useSelector(state => state.tableBarItem.activeKey)]} + selectedKeys={[useSelector(state => state.tableBarItem.activeKey)]} defaultExpandedKeys={useSelector(state => state.tableBarItem.expandedKeyList)} // treeNodes 数据,如果设置则不需要手动构造 TreeNode 节点(key 在整个树范围内唯一) treeData={defaultValueState} diff --git a/src/components/ItemTree/index.less b/src/components/ItemTree/index.less index a66b1d7..ad4aed9 100644 --- a/src/components/ItemTree/index.less +++ b/src/components/ItemTree/index.less @@ -27,5 +27,15 @@ overflow: hidden; text-overflow: ellipsis; } - - +.ant-tabs{ + height: 100%; +} +.ant-tabs-content { + height: 100%; +} +.ant-tabs-tabpane{ + height: 100%; +} +.HlexicalName { + height: 94.5%; +} diff --git a/src/pages/Note/Hlexical/index.jsx b/src/pages/Note/Hlexical/index.jsx index 30b9b08..2882822 100644 --- a/src/pages/Note/Hlexical/index.jsx +++ b/src/pages/Note/Hlexical/index.jsx @@ -174,10 +174,10 @@ export default function Hlexical(props) { return ( -
+
{/* 富文本插件 */} -
+
} placeholder={} @@ -185,7 +185,7 @@ export default function Hlexical(props) { /> {/*黑窗口动态记录当前操作*/} - + {/**/} diff --git a/src/pages/Note/index.jsx b/src/pages/Note/index.jsx index 4969eea..817c044 100644 --- a/src/pages/Note/index.jsx +++ b/src/pages/Note/index.jsx @@ -75,7 +75,8 @@ const Note = () => {

上善若水

- +