Preparing search index...
The search index is not available
@eqian/utils-vue
@eqian/utils-vue
usePick
Function usePick
use
Pick
<
T
,
K
>
(
obj
,
keys
)
:
Pick
<
T
,
K
>
usePick函数接收一个对象和一个键数组作为参数,返回一个新的对象,该对象只包含指定的键值对
Type Parameters
T
K
extends
string
|
number
|
symbol
Parameters
obj
:
T
提取的对象
keys
:
K
[]
需要提取的key-value
Returns
Pick
<
T
,
K
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@eqian/utils-vue
Loading...
usePick函数接收一个对象和一个键数组作为参数,返回一个新的对象,该对象只包含指定的键值对