Browse Source

Merge branch 'dev' of https://git.youlane.cn/weapp/C into dev

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

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

@@ -40,5 +40,13 @@ Component({
delta: 1
})
}
},
attached: function(){
let pages = getCurrentPages();
if (pages.length <= 1) {
this.setData({
back: false
})
}
}
})

Loading…
Cancel
Save