Commit c529c653 by zhangquan

去掉假数据

1 parent 76171047
......@@ -45,24 +45,24 @@ Page({
if(res?.length>0){
let sceneCodeList = []
let senceData = [...this.data.senceData]
let res = [
{
sceneCode: 'SC001',
status: 1
},
{
sceneCode: 'SC002',
status: 1
},
{
sceneCode: 'SC003',
status: 1
},
{
sceneCode: 'SC004',
status: 1
}
]
// let res = [
// {
// sceneCode: 'SC001',
// status: 1
// },
// {
// sceneCode: 'SC002',
// status: 1
// },
// {
// sceneCode: 'SC003',
// status: 1
// },
// {
// sceneCode: 'SC004',
// status: 1
// }
// ]
res.forEach((item,index) => {
if(item.status==1) {
let sceneTarget = senceData.find(sitem => sitem.sceneCode == item.sceneCode)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!