automatic.vue 683 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div>
  3. <!-- <iframe :src="envUrl" style="width:100%;" scrolling="no" frameborder="0" :height="iframeHeight" /> -->
  4. </div>
  5. </template>
  6. <script>
  7. // import { host } from '@/apiConfig/requestIP.js'
  8. export default {
  9. name: 'ENV',
  10. data() {
  11. return {
  12. show: true
  13. // iframeHeight: '720px'
  14. }
  15. },
  16. computed: {
  17. envUrl() {
  18. return 'http://zhihui-api.intra.didichuxing.com/'
  19. }
  20. },
  21. mounted() {
  22. window.open('http://zhihui-api.intra.didichuxing.com/', '_blank')
  23. // var height = window.innerHeight > document.body.clientHeight ? window.innerHeight : document.body.clientHeight
  24. // this.iframeHeight = height + 'px'
  25. }
  26. }
  27. </script>