<template>
  <div class="draw">
    <drawboard
      :url="url"
      :width="550"
      :height="500"
      @updateData="updateData"
      @drawEventDone="drawEventDone"
    ></drawboard>
  </div>
</template>
<script>
export default {
  name: "Test",
  data() {
    return {
      url: "https://fuss10.elemecdn.com/1/34/19aa98b1fcb2781c4fba33d850549jpeg.jpeg",
      labelDataOrigin: [],
      loadingData: false,
    };
  },
  components: {},
  methods: {
    updateData(data) {
      return data;
      // console.log(data);
    },
    drawEventDone() {},
  },
};
</script>
<style scoped>
.draw {
  /* width: 900px;
  height: 600px;
  overflow: hidden; */
}
</style>