<template>
  <div class="water-mark" ref="waterMark"></div>
</template>
<script>
import { watermarkText } from './js/waterMark';
import './js/devtools';

export default {
  mounted() {
    watermarkText(this.$refs.waterMark, '云飞科技', {
      width: 200,
      start: -30
    });
  }
};
</script>

<style lang="scss" scoped>
.water-mark {
  position: fixed;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1000;
}
</style>
