在收藏中
{ _id: 123,
category: 1,
desc: 'desc',
price: 99,
item:
[ { two: '24',
three: '48' },
{ two: '',
three:''},
{ two: '33',
three:'24'},
] } ,
{ _id: 121,
category: 1,
desc: 'desc',
price: 99,
item:
[ { two: '24',
three: '58' },
{ two: '',
three:''},
{ two: '35',
three:'54'},
] }
我如何将 item.two = '24' 的所有记录的值'two'设置为 null