Skip to content

Commit

Permalink
feat(template): bind form reset
Browse files Browse the repository at this point in the history
  • Loading branch information
aide-cloud committed Apr 29, 2024
1 parent 2c0a50f commit c2b84b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const BindNotifyTemplate: React.FC<BindNotifyTemplateProps> = (
}, [strategyId, open])

useEffect(() => {
form?.resetFields(['content'])
form?.resetFields()
const item = templateList.find(
(item) => item.notifyType === notifyTeype
) || { notifyType: notifyTeype, content: '' }
Expand Down

0 comments on commit c2b84b1

Please sign in to comment.