12345678910111213141516171819202122232425262728 |
- <template>
- <div class="box">
- {{ name }}
- </div>
- </template>
- <script setup>
- import { onMounted, ref, toRaw, watch, inject } from "vue";
- const props = defineProps({
- name: {
- type: String,
- default: "",
- },
- dirId: {
- type: Number,
- default: 0,
- },
- });
- </script>
- <style lang="scss" scoped>
- .box{
- line-height: 20px;
- font-size: 12px;
- display: flex;
- align-items: center;
- }
- </style>
|