chore: rename title

This commit is contained in:
Burt 2024-01-09 08:27:40 +08:00
parent 7e5e54678f
commit 562566ea74
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
"path": "pages/index/index", "path": "pages/index/index",
"type": "home", "type": "home",
"style": { "style": {
"navigationBarTitleText": "我才是标题" "navigationBarTitleText": "首页"
} }
}, },
{ {

View File

@ -1,7 +1,7 @@
<!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 --> <!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 -->
<route lang="json5" type="home"> <route lang="json5" type="home">
{ {
style: { navigationBarTitleText: '我才是标题' }, style: { navigationBarTitleText: '首页' },
} }
</route> </route>