auth.ts 435 B

1234567891011121314151617181920212223242526272829303132
  1. // components/auth/auth.ts
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. },
  8. /**
  9. * 组件的初始数据
  10. */
  11. data: {
  12. },
  13. lifetimes: {
  14. attached() {
  15. debugger
  16. // const app = getApp<IAppOption>();
  17. // const isLogin = wx.getStorageSync('isLogin')
  18. // app.setLogin(isLogin)
  19. // this.updateUserInfo();
  20. }
  21. },
  22. /**
  23. * 组件的方法列表
  24. */
  25. methods: {
  26. }
  27. })