首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
typescript获取对象Object 中 动态的key 值
typescript获取对象Object 中 动态的key 值
mac
2024-06-03
53
function getKey(goods) { for (const key of Object.keys(goods.speciName)) { console.log(goods.speciName[key]); } } getKey(goods);
转载请注明原文地址: https://mac.8miu.com/read-493456.html
最新回复
(
0
)