@xizs/nuxt-antui 0.0.23 → 0.0.25

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.
@@ -66,7 +66,7 @@ export class Form {
66
66
  const formData = ref<Record<string, any>>({ ...props.defaultFormData })
67
67
  const rules = ref<Record<string, any>>({})
68
68
 
69
- props.form.forEach(item => {
69
+ ADParse(props.form,formData.value).forEach(item => {
70
70
  if (item.key == null) return
71
71
  if (Array.isArray(item.key)) {
72
72
  item.key.forEach((key, idx) => {
@@ -102,7 +102,7 @@ export class Form {
102
102
  label-col={{ span: 8 }}
103
103
  wrapper-col={{ span: 16 }}
104
104
  >
105
- {props.form.map(item => {
105
+ {ADParse(props.form,formData.value).map(item => {
106
106
  const node =
107
107
  typeof item.is === 'function'
108
108
  ? item.is(formData.value)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xizs/nuxt-antui",
3
3
  "type": "module",
4
- "version": "0.0.23",
4
+ "version": "0.0.25",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",