mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-11 18:42:56 +00:00
fix(plugin-outline): fix matched title highlight
This commit is contained in:
parent
bd85ca3ca6
commit
e6ac33f11c
@ -85,11 +85,15 @@ export default class TreeTitle extends PureComponent<{
|
||||
|
||||
componentDidMount() {
|
||||
const { treeNode } = this.props;
|
||||
const { filterWorking, matchSelf, keywords } = treeNode.filterReult;
|
||||
this.setState({
|
||||
editing: false,
|
||||
title: treeNode.titleLabel,
|
||||
condition: treeNode.condition,
|
||||
visible: !treeNode.hidden,
|
||||
filterWorking,
|
||||
matchSelf,
|
||||
keywords,
|
||||
});
|
||||
treeNode.onTitleLabelChanged(() => {
|
||||
this.setState({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user