LabelItem.vue 406 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div class="box">
  3. {{ name }}
  4. </div>
  5. </template>
  6. <script setup>
  7. import { onMounted, ref, toRaw, watch, inject } from "vue";
  8. const props = defineProps({
  9. name: {
  10. type: String,
  11. default: "",
  12. },
  13. dirId: {
  14. type: Number,
  15. default: 0,
  16. },
  17. });
  18. </script>
  19. <style lang="scss" scoped>
  20. .box{
  21. line-height: 20px;
  22. font-size: 12px;
  23. display: flex;
  24. align-items: center;
  25. }
  26. </style>