app.js 310 B

12345678910111213141516171819
  1. // @desc: app.js
  2. // @auth: wangyuan.cc@foxmail.com
  3. // @date: 2022-09-13 10:44
  4. App({
  5. onLaunch() {
  6. console.log('App onLaunch');
  7. },
  8. globalData: {
  9. userInfo: {
  10. name: '',
  11. login: false
  12. },
  13. auth: {
  14. camera: true
  15. },
  16. selectedInex: 2 // 自定义tabbar选中的index
  17. }
  18. })