app.js 321 B

12345678910111213141516
  1. App({
  2. onLaunch(options) {
  3. console.log('App Launch', options);
  4. console.log('getSystemInfoSync', my.getSystemInfoSync());
  5. console.log('SDKVersion', my.SDKVersion);
  6. },
  7. onShow() {
  8. console.log('App Show');
  9. },
  10. onHide() {
  11. console.log('App Hide');
  12. },
  13. globalData: {
  14. hasLogin: false,
  15. },
  16. });