easybill-ui 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,9 +37,7 @@ export const getComponent = (type: string | VNode = "input") => {
37
37
  // 预设组件
38
38
  if (typeof type == "string" && preset.includes("schema-" + type)) {
39
39
  return presetMap["schema-" + type]
40
- } else if (typeof type == "string") {
41
- return type
42
- } else if (isReactive(type) || isRef(type) || isVNode(type) || "setup" in type) {
40
+ } else if (isReactive(type) || isRef(type) || isVNode(type) || (typeof type == "object" && "setup" in type)) {
43
41
  // 自定义组件
44
42
  // return createVNode(type)
45
43
  return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easybill-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "A component library for easybill",
5
5
  "author": "tuchongyang <779311998@qq.com>",
6
6
  "private": false,
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "e655dfa05da9d23b0037a748fe09847593cf832a"
17
+ "gitHead": "953d879b8cc9ec53ebd97ab0f9c284389cb642cb"
18
18
  }