Commit fa7b95fd by 高淑倩

优化

parent 3a595e4c
...@@ -99,6 +99,7 @@ Component({ ...@@ -99,6 +99,7 @@ Component({
// link row // link row
if (curItemType.link) { if (curItemType.link) {
let currentClickType = app.globalData.commonFunc.getLink(curItemType.link.type, curItemType) let currentClickType = app.globalData.commonFunc.getLink(curItemType.link.type, curItemType)
if (curItemType.link.type == 1) { if (curItemType.link.type == 1) {
// 触发父组件更新页面 外部小程序 // 触发父组件更新页面 外部小程序
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
<view wx:else> <view wx:else>
22 22
</view>--> </view>-->
<button wx:if="{{currHomePageId == tab.redirectId}}"> <button wx:if="{{currHomePageId == tab.redirectId}}">
<image class='tab-img' src='{{tab.activeImageUrl}}' /> <image class='tab-img' src='{{tab.activeImageUrl}}' />
</button> </button>
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
"id": 13, "id": 13,
"name": "subPage", "name": "subPage",
"pathName": "subPackage/page/pages/subPage/subPage", "pathName": "subPackage/page/pages/subPage/subPage",
"query": "pageId=16", "query": "pageId=22",
"scene": null "scene": null
}, },
{ {
......
...@@ -53,13 +53,13 @@ wxService.page({ ...@@ -53,13 +53,13 @@ wxService.page({
* 监听子组件事件 * 监听子组件事件
* */ * */
updatePage(ev) { updatePage(ev) {
// const {pageId} = ev.detail const {pageId} = ev.detail
// this.setData({ this.setData({
// pages: [], pages: [],
// pageId pageId
// },()=>{ },()=>{
// this.initPage(pageId) this.initPage(pageId)
// }) })
}, },
/** /**
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment