nw-ui-vue
Version:
NW component for vue2.x
15 lines (14 loc) • 430 B
TypeScript
/**
* 工具类函数
* author: salex
* email: wvlviker@qq.com
* date: 2022-10-10
*/
import type { TDefaultObject } from './types';
/**
* 对象非响应式转换
* @param {Array | Object} obj 需要转换的对象
* @param {String} prop 需要保留的属性名称
* @returns
*/
export declare const objectUnReactive: (obj: TDefaultObject | TDefaultObject[], prop?: string) => TDefaultObject | undefined;