Browse Source

✨ feat(app): 启用自定义导航栏样式

- 添加navigationStyle: 'custom'配置以支持自定义导航栏
yourname 4 tháng trước cách đây
mục cha
commit
e2abcb3459
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      mini/src/app.config.ts

+ 2 - 1
mini/src/app.config.ts

@@ -8,6 +8,7 @@ export default defineAppConfig({
     backgroundTextStyle: 'light',
     navigationBarBackgroundColor: '#1890ff',
     navigationBarTitleText: '小程序Starter',
-    navigationBarTextStyle: 'white'
+    navigationBarTextStyle: 'white',
+    navigationStyle: 'custom'
   }
 })