拓恒河湖长制全民护河平台WEB端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
316B

  1. // app.js
  2. import {IsOnlive} from './api/login.js'
  3. App({
  4. onLaunch() {
  5. // 展示本地存储能力
  6. const logs = wx.getStorageSync('logs') || []
  7. logs.unshift(Date.now())
  8. wx.setStorageSync('logs', logs)
  9. // 心跳更新在线状态
  10. },
  11. globalData: {
  12. times: 0,
  13. userInfo: null
  14. }
  15. })