@ftjs/core 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -353,7 +353,7 @@ const useForm = (props) => {
353
353
  if (typeof value === "function") {
354
354
  show = value({
355
355
  formData: form.value,
356
- val
356
+ val: isSingleWatch ? val[0] : val
357
357
  });
358
358
  } else {
359
359
  if (Array.isArray(value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ftjs/core",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "keywords": [],
5
5
  "author": "",
6
6
  "license": "MIT",