Skip to content

Commit

Permalink
feat(fr):更新schema类型声明
Browse files Browse the repository at this point in the history
  • Loading branch information
siyi98 committed Mar 23, 2022
1 parent fe46d31 commit a24b127
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/form-render/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.9.8

- [+] 更新`schema`类型声明

## 1.9.7

- [+] 对嵌套的`对象类型`组件扩展`schema`,新增`collapsed`属性用于控制面板折叠。
Expand Down
2 changes: 1 addition & 1 deletion packages/form-render/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "form-render",
"version": "1.9.7",
"version": "1.9.8",
"description": "通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成",
"keywords": [
"Form",
Expand Down
2 changes: 1 addition & 1 deletion packages/form-render/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ interface SchemaBase {
/** 是否隐藏,隐藏的字段不会在 formData 里透出,支持 `'{{ formData.xxx === "" }}'` 形式的表达式 */
hidden: boolean | string;
displayType: 'row' | 'column';
width: string;
width: string | number;
labelWidth: number | string;
column: number;
className: string;
Expand Down

0 comments on commit a24b127

Please sign in to comment.