如题,有没有什么办法能有效过滤掉所有非必填值为undefined的项,这些项有的在嵌套在第二层,有的在第三层?
JSON.parse(JSON.stringify(values))
755k questions
754k answers
5 comments
53.3k users