refactor(web): make Switch controlled-only and migrate call sites (#32399)

This commit is contained in:
yyh authored and GitHub committed 2026-02-18 23:47:07 +08:00
1 parent 368db04519
commit ea0e1b52a8
58 files changed
+182 -223

No files matched your search

@@ -80,7 +80,7 @@ const Operator = ({
<div>{t('nodes.note.editor.showAuthor', { ns: 'workflow' })}</div>
<Switch
size="l"
defaultValue={showAuthor}
value={showAuthor}
onChange={onShowAuthorChange}
/>
</div>