cosey 0.6.2 → 0.6.3

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.
@@ -250,7 +250,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
250
250
  index: 0,
251
251
  getProp
252
252
  }) ?? []).map(item => {
253
- if (isVNode(item) && item.type.name === "FormItem") {
253
+ if (isVNode(item) && (item.type.name === "ElFormItem" || item.type.name === "CoFormItem")) {
254
254
  return {
255
255
  ...item.props,
256
256
  required: item.props?.required || item.props?.rules?.some(rule => Object.keys(rule).includes("required"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",