ssoCertification.vue 711 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!--扫描二维码页面-->
  2. <template>
  3. <view id="ssoCertification">
  4. 登录中请稍后
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. name: "ssoCertification",
  10. data() {
  11. return {
  12. }
  13. },
  14. onLoad(option) {
  15. console.log('option=>',option);
  16. if(option.token){
  17. uni.setStorageSync('token', option.token);
  18. //获取登录人信息接口
  19. this.getUserInfo();
  20. }else{
  21. uni.redirectTo({
  22. url: '/pages/views/login/ssoLogin',
  23. });
  24. }
  25. },
  26. mounted() {
  27. },
  28. methods: {
  29. getUserInfo(){
  30. },
  31. },
  32. }
  33. </script>
  34. <style lang="stylus" scoped>
  35. #ssoCertification {
  36. width:100%;
  37. height:100%;
  38. overflow:scroll;
  39. text-align: center;
  40. line-height:200rpx;
  41. }
  42. </style>