js 根据val值获取对象key键值

goodId = Object.keys(spec).find(key => spec[key] === specCur)
posted @ 2020-08-19 14:09  をもって剣を制す  阅读(440)  评论(0编辑  收藏  举报