Browse Source

[返回][删除]:[删除组件返回判断]

tags/河北版C.8.1.01
meo 5 years ago
parent
commit
5f522fe3d4
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      components/navbar/navbar.js

+ 0
- 8
components/navbar/navbar.js View File

@@ -29,14 +29,6 @@ Component({
statusBarHeight: app.statusBarHeight + 'px',
navigationBarHeight: (app.statusBarHeight + 44) + 'px'
},
ready(){
let pages = getCurrentPages();
if (pages&&pages.length>0){
this.setData({
back:false
})
}
},
methods: {
backHome: function () {
wx.switchTab({


Loading…
Cancel
Save