mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-12 02:46:08 +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() {
|
componentDidMount() {
|
||||||
const { treeNode } = this.props;
|
const { treeNode } = this.props;
|
||||||
|
const { filterWorking, matchSelf, keywords } = treeNode.filterReult;
|
||||||
this.setState({
|
this.setState({
|
||||||
editing: false,
|
editing: false,
|
||||||
title: treeNode.titleLabel,
|
title: treeNode.titleLabel,
|
||||||
condition: treeNode.condition,
|
condition: treeNode.condition,
|
||||||
loop: treeNode.loop,
|
loop: treeNode.loop,
|
||||||
visible: !treeNode.hidden,
|
visible: !treeNode.hidden,
|
||||||
|
filterWorking,
|
||||||
|
matchSelf,
|
||||||
|
keywords,
|
||||||
});
|
});
|
||||||
treeNode.onTitleLabelChanged(() => {
|
treeNode.onTitleLabelChanged(() => {
|
||||||
this.setState({
|
this.setState({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user