获取所有存在的键名字符串列表
crushObjectKeys({ name: 'ra' }) // ['name']crushObjectKeys({ name: 'ra', children: [{ name: 'hathor' }] }) // ['name', 'children.0.name'] Copy
crushObjectKeys({ name: 'ra' }) // ['name']crushObjectKeys({ name: 'ra', children: [{ name: 'hathor' }] }) // ['name', 'children.0.name']
获取所有存在的键名字符串列表
Example