mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-02 15:27:18 +00:00
Merge pull request #2974 from AndyJinSS/filter-highlight
fix(plugin-outline): fix matched title highlight
This commit is contained in:
commit
9000a87436
@ -86,12 +86,16 @@ 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,
|
||||
loop: treeNode.loop,
|
||||
visible: !treeNode.hidden,
|
||||
filterWorking,
|
||||
matchSelf,
|
||||
keywords,
|
||||
});
|
||||
treeNode.onTitleLabelChanged(() => {
|
||||
this.setState({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user