<template>
  <div>
    <span :id="'apjs_'+this.ID"></span>
  </div>
</template>

<script>
import util from '@src/common/util.js'
export default {
  data() {
    return {
      ID: 0
    }
  },
  async created() {
    try {
      this.ID = util.url.getQueryValue(location.href, 'ID')
      let src = `ui/atverdise/${this.ID}/editorpreview`
      let data = `ui/atverdise/${this.ID}`
      util.loadJS(src, data)
    } catch (e) {
      console.error('sinacss ie8 css file is missing', e.toString())
      return null
    }
  }
}
</script>
