empty.vue 499 B

12345678910111213141516171819202122
  1. <template>
  2. <v-text
  3. :config="{
  4. text: '未添加动画',
  5. height: size?.height,
  6. width: size?.width,
  7. fill: '#fff',
  8. fontSize: 14,
  9. opacity: 0.3,
  10. align: 'center',
  11. verticalAlign: 'middle',
  12. ...invConfig,
  13. y: 20,
  14. }"
  15. />
  16. </template>
  17. <script lang="ts" setup>
  18. import { useGlobalResize, useViewerInvertTransformConfig } from "../drawing/hook";
  19. const { size } = useGlobalResize();
  20. const invConfig = useViewerInvertTransformConfig();
  21. </script>