chore: remove isNaN util, re-organize validate utils (#8473)

This commit is contained in:
neverland
2021-04-08 10:08:03 +08:00
committed by GitHub
parent 9f93dd9d61
commit 3214b1dd80
21 changed files with 70 additions and 80 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { CSSProperties } from 'vue';
import { isDef, inBrowser } from '../base';
import { isNumeric } from '../validate/number';
import { inBrowser } from '../base';
import { isDef, isNumeric } from '../validate';
export function addUnit(value?: string | number): string | undefined {
if (!isDef(value)) {