free-fe-core-modules 0.1.12 → 0.1.13

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.
@@ -68,7 +68,7 @@
68
68
  @keyup.stop
69
69
  @input="innerExtraFieldInput(fld)"
70
70
  v-for="(fld, idx) in selectedOptionsExtra" :key="idx"
71
- :Field="{...fld, ReadOnly: Field.ReadOnly || fld.ReadOnly}"
71
+ :Field="{...fld, ReadOnly: Field.ReadOnly || fld?.ReadOnly}"
72
72
  :values="values"
73
73
  ref="fieldToValid">
74
74
  </free-field>
@@ -128,7 +128,7 @@
128
128
  @keyup.stop
129
129
  @input="innerExtraFieldInput(fld)"
130
130
  v-for="(fld, idx) in option.InnerExtra || []" :key="idx"
131
- :Field="{...fld, ReadOnly: Field.ReadOnly || fld.ReadOnly}"
131
+ :Field="{...fld, ReadOnly: Field.ReadOnly || fld?.ReadOnly}"
132
132
  :values="values"
133
133
  ref="fieldToValid">
134
134
  </free-field>
@@ -470,7 +470,7 @@ export default defineComponent({
470
470
  opts = (localOptions.value || []).filter((opt) => opt.Value === fieldData.value);
471
471
  }
472
472
 
473
- return opts.map((opt) => opt.Extra).flat();
473
+ return opts.map((opt) => opt.Extra).flat().filter((f) => f?.Name || f?.Label);
474
474
  });
475
475
 
476
476
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-fe-core-modules",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/freeeis/free-fe-core-modules.git",
6
6
  "author": "zhiquan",