avuejs.com/images/face.png" @data-change="dataChange" ref="video"></avue-video>
  </div>
</body>
<script>
  var app = Vue.createApp({
    methods: {
      startRecord() {
        this.$refs.video.startRecord();
      },
      stopRecord() {
        this.$refs.video.stopRecord();
      },
      getRecord() {
        this.$refs.video.getRecord();
      },
      dataChange(data) {
        console.log(data);
      }
    }
  })
  app.use(ElementPlus)
  app.use(AVUE)
  app.mount('#app')
</script>

</html>