free-fe-core-modules 0.1.4 → 0.1.5

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.
@@ -333,14 +333,16 @@ export default defineComponent({
333
333
  };
334
334
 
335
335
  const { validate } = useFormValidator('fieldToValid');
336
- expose ({
337
- validate,
338
- })
339
336
 
340
337
  if (props.Field.AsCheck && props.Field.Required) {
341
338
  expose ({
339
+ validate,
342
340
  selfValidate,
343
341
  })
342
+ } else {
343
+ expose ({
344
+ validate,
345
+ })
344
346
  }
345
347
 
346
348
  const selectChanged = (v) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-fe-core-modules",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/freeeis/free-fe-core-modules.git",
6
6
  "author": "zhiquan",