Commit 20c77e95 by 王志慧

commit

1 parent fd090a1c
...@@ -78,7 +78,7 @@ Component({ ...@@ -78,7 +78,7 @@ Component({
// actNum: scenIndex // actNum: scenIndex
// }) // })
// 如果没有sceneCode,或者没有配置banner跳转 isBannerLink 2-没有配置 1-有配置 // 如果没有sceneCode,或者没有配置banner跳转 isBannerLink 2-没有配置 1-有配置
if (!e.detail.sceneCode || e.detail.isBannerLink == 2) return if (!e.detail.sceneCode || e.detail.isBannerLink != 1) return
const { hasPhoneNumber } = this.data const { hasPhoneNumber } = this.data
// 获取场景 // 获取场景
let systemItem = this.data.systemData.find(item => item.sceneCode == e.detail.sceneCode) let systemItem = this.data.systemData.find(item => item.sceneCode == e.detail.sceneCode)
...@@ -126,6 +126,8 @@ Component({ ...@@ -126,6 +126,8 @@ Component({
const systemData = res[1].list const systemData = res[1].list
this.getSceneData(productData) this.getSceneData(productData)
this.setData({ this.setData({
[`navList[0]`]: res[0].name,
[`navList[1]`]: res[1].name,
systemData systemData
}) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!