Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 修复 schema 被篡改 #1457

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/table-render/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### 1.3.15
- [+] 修复 search schema 被篡改

### 1.3.14
- [+] 修复 `refresh` stay 之后 分页数据不更新
### 1.3.11
Expand Down
2 changes: 1 addition & 1 deletion packages/table-render/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "table-render",
"version": "1.3.14",
"version": "1.3.15",
"description": "中后台表格解决方案",
"keywords": [
"TableRender",
Expand Down
2 changes: 1 addition & 1 deletion packages/table-render/src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const Search: <RecordType extends object = any>(
onFinish,
...props,
form,
schema: formSchema,
schema: cloneDeep(formSchema),
widgets: {
searchBtn: () => <MySearchBtn {...btnProps} />,
...props.widgets,
Expand Down