diff --git a/build/api/core/Checker.php b/build/api/core/Checker.php index 6e117da..f2657ee 100755 --- a/build/api/core/Checker.php +++ b/build/api/core/Checker.php @@ -143,7 +143,7 @@ break; case "float": - return $checker && is_float($value); + return $checker && ( is_int($value) || is_float($value) ); break; default: diff --git a/webpack/component/ue/view.vue b/webpack/component/ue/view.vue index 597bb69..48e79d9 100644 --- a/webpack/component/ue/view.vue +++ b/webpack/component/ue/view.vue @@ -54,7 +54,8 @@ {{ ue.labelForm }} @@ -70,9 +71,9 @@ - +