Skip to content

Commit

Permalink
fix(engine): πŸ› fix css editor initial value not correct problem
Browse files Browse the repository at this point in the history
affects: engine
  • Loading branch information
hlerenow committed Mar 3, 2024
1 parent dca964a commit 96c3e58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/engine/src/component/CSSEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ export const CSSEditor = (props: CSSEditorProps) => {
style={{
marginBottom: '10px',
}}
onChange={async () => {
await waitReactUpdate();
initRef.current?.();
}}
items={[
{
key: 'normal',
Expand Down

0 comments on commit 96c3e58

Please sign in to comment.