Skip to content

Commit 3b36926

Browse files
liujupingJackLian
authored andcommitted
feat: after the component title is modified, update the title of the ComponentAction area
1 parent 7b85128 commit 3b36926

File tree

1 file changed

+2
-1
lines changed
  • packages/designer/src/builtin-simulator/node-selector

1 file changed

+2
-1
lines changed

packages/designer/src/builtin-simulator/node-selector/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Overlay } from '@alifd/next';
22
import React, { MouseEvent } from 'react';
3-
import { Title } from '@alilc/lowcode-editor-core';
3+
import { Title, observer } from '@alilc/lowcode-editor-core';
44
import { canClickNode } from '@alilc/lowcode-utils';
55
import './index.less';
66

@@ -18,6 +18,7 @@ export interface IState {
1818

1919
type UnionNode = INode | null;
2020

21+
@observer
2122
export default class InstanceNodeSelector extends React.Component<IProps, IState> {
2223
state: IState = {
2324
parentNodes: [],

0 commit comments

Comments
 (0)