Commit 633346a7 by 王志慧

fixed

1 parent 28b2ad7a
......@@ -202,11 +202,7 @@ Component({
})
productData = list.filter(item => openList.includes(item.sceneCode))
}
this.setData({
showPage: true,
productData,
curTabId: productData?.[this.data.curTabIdx]?.sceneid || 0
}, () => {});
})
.catch((err) => {
this.setData({
......@@ -274,11 +270,14 @@ Component({
app.getBaseData().then(res => {
const productData = res[0].list
const systemData = res[1].list
this.getSceneData(productData)
// this.getSceneData(productData)
this.setData({
['navList[0]']: res[0].name,
['navList[1]']: res[1].name,
systemData
systemData,
showPage: true,
productData,
curTabId: productData?.[this.data.curTabIdx]?.sceneid || 0
})
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!