mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
用户页隐藏顶部导航条边框
This commit is contained in:
parent
344ee564cb
commit
c3e1aac37c
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,8 @@ export default class UserPage extends Component {
|
|||
static options(passProps) {
|
||||
return passProps.user ? {
|
||||
topBar: {
|
||||
noBorder: true, // ios
|
||||
elevation: 0, // android
|
||||
title: {
|
||||
text: passProps.user.name
|
||||
},
|
||||
|
@ -52,6 +54,8 @@ export default class UserPage extends Component {
|
|||
}
|
||||
} : {
|
||||
topBar: {
|
||||
noBorder: true, // ios
|
||||
elevation: 0, // android
|
||||
title: {
|
||||
text: '我'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue