uni-app:通过循环处理数据,通过filter方法查询满足条件的项,通过map方法查询每条数据的具体一项
exportdefault{data(){return{warseinfo:[{name:'A',checked:true,loccode:'001'},{name:'B',checked:false,loccode:'002'},{name:'C',checked:true,loccode:'003'},{name:'D',checked:false,loccode:'004'}]}},meth