refactor: extract isClient and isNumber isBoolean (#12504)

* refactor: extract isClient and isNumber isBoolean

* test: update test

* refactor: extract isClient to browser
This commit is contained in:
btea
2023-04-20 20:00:49 +08:00
committed by GitHub
parent 0f4aeaf3c0
commit 105d79b0d9
37 changed files with 84 additions and 59 deletions

View File

@ -150,7 +150,7 @@ import {
useSlots,
watch,
} from 'vue'
import { isClient, useResizeObserver } from '@vueuse/core'
import { useResizeObserver } from '@vueuse/core'
import { isNil } from 'lodash-unified'
import { ElIcon } from '@element-plus/components/icon'
import {
@ -168,6 +168,7 @@ import {
NOOP,
ValidateComponentsMap,
debugWarn,
isClient,
isKorean,
isObject,
} from '@element-plus/utils'