Skip to content

Commit 7d7d9a9

Browse files
author
lhbxs
committed
feat: 修复 schema 被篡改
1 parent afad269 commit 7d7d9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/table-render/src/components/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const Search: <RecordType extends object = any>(
165165
onFinish,
166166
...props,
167167
form,
168-
schema: formSchema,
168+
schema: cloneDeep(formSchema),
169169
widgets: {
170170
searchBtn: () => <MySearchBtn {...btnProps} />,
171171
...props.widgets,

0 commit comments

Comments
 (0)