let object = this.intellectualPropertyRights; //对象的数据 改成你当前的对象
for (const key in object) {
if (Object.hasOwnProperty.call(object, key)) {
var element = object[key];
data.knowledge_option_content_data.map((item) => {
if (item == key) {
console.log(item, element, "222222222222222");
}
});
}
}
JS循环对象
最新推荐文章于 2024-11-01 14:29:13 发布