ui-api.js 531 字节
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
import {
  canIUse
} from 'uni-core/service/api/base/can-i-use'
import {
  upx2px
} from 'uni-core/service/api/base/upx2px'
import {
  getLocation
} from 'uni-platform/service/api/location/get-location'
import {
  onCompassChange,
  stopCompass
} from 'uni-platform/service/api/device/compass'
import {
  getSystemInfoSync
} from 'uni-platform/service/api/device/get-system-info'

// TODO route

export default {
  canIUse,
  upx2px,
  getLocation,
  onCompassChange,
  stopCompass,
  getSystemInfoSync
}