Skip to content

Commit

Permalink
feat: data-view 去除 xxKey 解析逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
lhbxs committed Jun 7, 2023
1 parent 0c09972 commit 8367fe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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": "2.2.4-beta.1",
"version": "2.2.4-beta.2",
"description": "通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成",
"keywords": [
"Form",
Expand Down
3 changes: 1 addition & 2 deletions packages/form-render/src/models/formCoreUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,10 @@ export const immediateWatch = (watch: any, values: any) => {
}

const watchObj = {};

Object.keys(watch).forEach(key => {
const watchItem = watch[key];
if (watchItem?.immediate && isFunction(watchItem?.handler)) {
watchObj[key] = watch;
watchObj[key] = watchItem;
}
});

Expand Down

0 comments on commit 8367fe6

Please sign in to comment.