Index.vue 784 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <div class="home">
  3. </div>
  4. </template>
  5. <script>
  6. // @ is an alias to /src
  7. import Trend from '@/components/Trend'
  8. import { WindowsFill } from '@ant-design/icons/lib/dist';
  9. export default {
  10. name: 'Index',
  11. components: {
  12. Trend,
  13. },
  14. data () {
  15. return {
  16. targetTime: new Date().getTime() + 3900000
  17. }
  18. },
  19. created(){
  20. window.location.href = 'http://172.18.91.12:8888/sso/oauth/authorize?client_id=OAManager&response_type=code&redirect_url=http://172.18.91.36:8083/#/redirect/login'
  21. },
  22. methods: {
  23. }
  24. }
  25. </script>
  26. <style scoped>
  27. .home {
  28. width: 900px;
  29. margin: 0 auto;
  30. padding: 25px 0;
  31. }
  32. .home > .banner {
  33. text-align: center;
  34. padding: 25px 0;
  35. margin: 25px 0;
  36. }
  37. </style>