<template>
  <div><iframe :src="apiUrls" :width="widhtVal" :height="heightVal" frameborder="0" name="aipUrl"></iframe></div>
</template>
<script>
export default {
  name: 'apipage',
  data () {
    return {
      apiUrls: '',
      widhtVal: '',
      heightVal: '980'
    }
  },
  created () {
    this.apiUrls = process.env.apiUrl
    var width = document.documentElement.clientWidth - 280
    this.widhtVal = width
  }
}
</script>
<style scoped>
</style>
