This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
Merge branch 'dev' of
https://git.youlane.cn/weapp/C
into dev
tags/河北版C.8.1.01
hurui
5 years ago
parent
853b28d37e
7591fa055c
commit
140ede7a4d
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
})
}
}
})
Write
Preview
Loading…
Cancel
Save