const data = {
name: '张三',
gender: '1',
address: '深圳',
age: 18,
info: {
name: '张三',
gender: '1',
address: '深圳',
age: 18
}
};
useDeepOmit(data, ['gender', 'age'])
// {
// name: '张三',
// address: '深圳',
// info: {
// name: '张三',
// address: '深圳'
// }
// };
深度剔除属性