@qin-ui/antd-vue-pro 2.0.0 → 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.
package/README.md CHANGED
@@ -109,3 +109,5 @@ antd-vue-pro 导出了一个名为 `useTable` 的自定义 Hook,用于处理
109
109
  | button-bar | 自定义按钮组 |
110
110
  | toolbar | 自定义工具栏 |
111
111
  | table | 自定义表格 |
112
+
113
+ ## [更多使用示例和文档详细内容](https://dufan3715.github.io/pro-components/)
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.0",
3
+ "version": "2.0.2",
4
4
  "description": "二次封装antd vue组件",
5
5
  "type": "module",
6
6
  "module": "es/index.js",
@@ -17,7 +17,7 @@
17
17
  "README.md",
18
18
  "LICENSE"
19
19
  ],
20
- "homepage": "https://github.com/dufan3715/pro-components.git",
20
+ "homepage": "https://dufan3715.github.io/pro-components/",
21
21
  "repository": {
22
22
  "type": "git",
23
23
  "url": "git+https://github.com/dufan3715/pro-components.git"