需要过滤掉虚值
// 原来的数据
batchRule: {
"gmtOne": 0,
"gmtTwo": 0,
"gmtThree": 0,
"gmtFour": 0,
"extendOne": 1,
"extendTwo": 1,
"extendThree": 1,
"extendFour": 1,
"extendFive": 1,
"extendSix": 1,
}
我想要达到的结果
batchRule: {
"extendOne": 1,
"extendTwo": 1,
"extendThree": 1,
"extendFour": 1,
"extendFive": 1,
"extendSix": 1,
}