获取对象包对象数据

let data = {
	"24235435446": {
		name: "1e123123213",
		code: "123",
		mac: "13123213213",
		org_name: "1312321312312",
		org_code: "123321"
		},
	"asdasdasda": {
		name: "23213213",
		code: "123",
		mac: "123123213",
		org_name: "1111",
		org_code: "123321"
		}
	}
	let asd=Object.keys(data)
	let asd1=Object.values(data)
	console.log(asd)
	console.log(asd1)

  

posted @ 2021-08-20 13:29  前端老菜姬  阅读(190)  评论(0编辑  收藏  举报