mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-13 12:13:10 +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() {
|
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,
|
||||||
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