Commit 254f942d by 前端

Merge branch 'zq_dev_3.0' into 'v3.0'

去掉假数据

See merge request !86
2 parents bfb222d4 c529c653
......@@ -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!