Browse Source

chore: rename title

Burt 2 năm trước cách đây
mục cha
commit
562566ea74
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/pages.json
  2. 1 1
      src/pages/index/index.vue

+ 1 - 1
src/pages.json

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

+ 1 - 1
src/pages/index/index.vue

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