<template>
  <app-base>
    <div id="contentlarge"></div>
    <busy :is-busy="busy">
    </busy>
  </app-base>
</template>

<script>
import Comp from "./comp"

export default {

    ready() {

      // 设置模板为测试,,
      global.canvas = "ShowAddress";
      global.myjson = Object.assign(global.myjson, {
        ShowAddress: {"template":{"type":"Extension","Slots":{"item":{"type":"DynamicTable","SingleWidth":"@110","Data":"stat.Data.towerInfo","TierHeight":"@90"}}},"Drag":{}}
      })
      loadWasm().then(() => {
        global.stat = new Comp()
        global.stat.ready().then(() => {
          console.log(global.stat)
          run()
          this.busy = false
        })
      })
    },
  data() {
      return {
        busy:true
      }
  }
}




</script>
