load.vue 391 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div></div>
  3. </template>
  4. <script>
  5. export default {
  6. onReady() {
  7. try {
  8. // const token = uni.getStorageInfoSync('token')
  9. // if (token.keys.length) {
  10. uni.reLaunch({
  11. url: '/pages/tab/index'
  12. })
  13. // } else {
  14. // uni.reLaunch({
  15. // url: '/pages/login/login',
  16. // })
  17. // }
  18. } catch (e) {
  19. }
  20. }
  21. }
  22. </script>
  23. <style>
  24. </style>