Skip to content

Commit

Permalink
refactor(form): code optimization and reconstruction
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Oct 30, 2020
1 parent e233364 commit 84c9d78
Show file tree
Hide file tree
Showing 17 changed files with 676 additions and 433 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
## Wip

### ✨ Features

- 表单组件现在支持直接传入 model 直接进行 set 操作,参考**组件->弹窗扩展->打开弹窗并传递数据**

- modal 的 useModalInner 现在支持传入回调函数,用于接收外部`transferModalData`传进来的值,
- 用于处理打开弹窗对表单等组件的设置值。参考**组件->弹窗扩展->打开弹窗并传递数据**
- `receiveModalDataRef`这个值暂时保留。尽量少用。后续可能会删除。

### ✨ Refactor

- 表单代码优化重构

### 🎫 Chores

- 添加部分注释
Expand All @@ -10,6 +22,7 @@

- 修复本地代理 post 接口到 https 地址超时错误
- 修复 modal 在不显示 footer 的时候全屏高度计算问题
- 修复表单重置未删除校验信息错误

## 2.0.0-rc.6 (2020-10-28)

Expand Down
Loading

0 comments on commit 84c9d78

Please sign in to comment.