足力健前端,vue版本

ui-api.js 505B

12345678910111213141516171819202122232425262728
  1. import {
  2. canIUse
  3. } from 'uni-core/service/api/base/can-i-use'
  4. import {
  5. upx2px
  6. } from 'uni-core/service/api/base/upx2px'
  7. import {
  8. getLocation
  9. } from 'uni-platform/service/api/location/get-location'
  10. import {
  11. onCompassChange,
  12. stopCompass
  13. } from 'uni-platform/service/api/device/compass'
  14. import {
  15. getSystemInfoSync
  16. } from 'uni-platform/service/api/device/get-system-info'
  17. // TODO route
  18. export default {
  19. canIUse,
  20. upx2px,
  21. getLocation,
  22. onCompassChange,
  23. stopCompass,
  24. getSystemInfoSync
  25. }