chore: rename title
This commit is contained in:
parent
7e5e54678f
commit
562566ea74
@ -42,7 +42,7 @@
|
||||
"path": "pages/index/index",
|
||||
"type": "home",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我才是标题"
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- 使用 type="home" 属性设置首页,其他页面不需要设置,默认为page;推荐使用json5,更强大,且允许注释 -->
|
||||
<route lang="json5" type="home">
|
||||
{
|
||||
style: { navigationBarTitleText: '我才是标题' },
|
||||
style: { navigationBarTitleText: '首页' },
|
||||
}
|
||||
</route>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user