File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed
packages/json-schema-form Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change
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组件
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @layui/json-schema-form" ,
3
- "version" : " 1.0.5 " ,
3
+ "version" : " 1.0.6 " ,
4
4
"description" : " Json-schema-form is a high-level component encapsulated on the basis of @layui/layui-vue form." ,
5
5
"homepage" : " http://www.layui-vue.com/zh-CN/components/jsonSchemaForm" ,
6
6
"type" : " module" ,
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ const getComponentSlots = (
88
88
// 当slot[slotkey]的值为string
89
89
if (
90
90
typeof slotValue === "string" &&
91
- LayJsonSchemaFormSlot . hasOwnProperty ( slotValue )
91
+ Object . hasOwn ( LayJsonSchemaFormSlot , slotValue )
92
92
) {
93
93
slotRenders [ slotKey ] = LayJsonSchemaFormSlot [ slotValue ] ;
94
94
} else if ( typeof slotValue === "function" ) {
You can’t perform that action at this time.
0 commit comments