index.vue 470 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <view>
  3. </view>
  4. </template>
  5. <script>
  6. export default {
  7. data() {
  8. return {
  9. }
  10. },
  11. created() {
  12. //跳转页面为tabBar页面
  13. // console.log(uni.getStorageSync('lifeData'))
  14. // if(uni.getStorageSync('lifeData')){
  15. // uni.switchTab({
  16. // url: '/pages/home/home'
  17. // })
  18. // }else{
  19. // uni.redirectTo({
  20. // url: '/pages/login/login'
  21. // });
  22. // }
  23. },
  24. methods: {}
  25. }
  26. </script>
  27. <style>
  28. </style>