@qin-ui/antd-vue-pro 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/es/form/index.js +1 -1
  2. package/package.json +1 -1
package/es/form/index.js CHANGED
@@ -615,7 +615,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
615
615
  },
616
616
  setup(__props) {
617
617
  return (_ctx, _cache) => {
618
- return isVNode(toValue(_ctx.component)) ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.component), normalizeProps(mergeProps({ key: 0 }, _ctx.$attrs)), null, 16)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
618
+ return isVNode(_ctx.component) || typeof _ctx.component === "function" ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.component), normalizeProps(mergeProps({ key: 0 }, _ctx.$attrs)), null, 16)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
619
619
  createTextVNode(toDisplayString(_ctx.component), 1)
620
620
  ], 64));
621
621
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qin-ui/antd-vue-pro",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "二次封装antd vue组件",
5
5
  "type": "module",
6
6
  "module": "es/index.js",