Bläddra i källkod

chore: rename title

Burt 2 år sedan
förälder
incheckning
562566ea74
2 ändrade filer med 2 tillägg och 2 borttagningar
  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>