File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.14.15
4
+ - [ !] removeErrorField 无法完全清除(同步被多个组件调用)
3
5
## 1.14.14
4
6
- [ !] 修复 theme Ts 类型声明
5
7
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " form-render" ,
3
- "version" : " 1.14.14 " ,
3
+ "version" : " 1.14.15 " ,
4
4
"description" : " 通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成" ,
5
5
"keywords" : [
6
6
" Form" ,
Original file line number Diff line number Diff line change @@ -326,6 +326,10 @@ const useForm = props => {
326
326
let newOutError = _outErrorFields . current . filter ( item => {
327
327
return item . name . indexOf ( path ) === - 1 ;
328
328
} ) ;
329
+
330
+ _outErrorFields . current = newOutError ;
331
+ _errorFields . current = newError ;
332
+
329
333
setState ( { errorFields : newError , outErrorFields : newOutError } ) ;
330
334
} ;
331
335
You can’t perform that action at this time.
0 commit comments