Skip to content

Commit 1f7d42d

Browse files
committed
feat(json-schema-form): release v.1.0.6
1 parent 7ba674d commit 1f7d42d

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## [1.0.6] (2024-4-24)
2+
3+
### Bug Fixes
4+
* 修复 `Vue[3.4.24]` 版本中使用hasOwnProperty可能造成错误
5+
6+
## [1.0.5] (2024-4-22)
7+
8+
### Layui-vue Upgrade
9+
10+
## [1.0.4] (2024-4-2)
11+
12+
### Features
13+
* 调整 `slots.customRender` 参数 ([#I9DFML](https://gitee.com/layui-vue/layui-vue/issues/I9DFML#note_26279350_link))
14+
15+
## [1.0.3] (2024-3-8)
16+
17+
### Bug Fixes
18+
* 修复 `form` 样式无效
19+
20+
## [1.0.2] (2024-3-1)
21+
22+
### Bug Fixes
23+
* ...
24+
25+
## [1.0.1] (2024-3-1)
26+
27+
### Bug Fixes
28+
* 修复 `workspace` 导致 `layui-vue` 引用错误
29+
30+
## [1.0.0] (2024-2-29)
31+
32+
### Features
33+
* 新增json-schema-form组件

packages/json-schema-form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@layui/json-schema-form",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Json-schema-form is a high-level component encapsulated on the basis of @layui/layui-vue form.",
55
"homepage": "http://www.layui-vue.com/zh-CN/components/jsonSchemaForm",
66
"type": "module",

packages/json-schema-form/src/component/form-block/form-block.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const getComponentSlots = (
8888
// 当slot[slotkey]的值为string
8989
if (
9090
typeof slotValue === "string" &&
91-
LayJsonSchemaFormSlot.hasOwnProperty(slotValue)
91+
Object.hasOwn(LayJsonSchemaFormSlot, slotValue)
9292
) {
9393
slotRenders[slotKey] = LayJsonSchemaFormSlot[slotValue];
9494
} else if (typeof slotValue === "function") {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy