index.vue 483 B

123456789101112131415161718192021222324
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24" class="main animate__animated animate__backInRight">
  5. <el-col :span="24" class="one">
  6. <bTable :type="type"></bTable>
  7. </el-col>
  8. </el-col>
  9. </el-row>
  10. </div>
  11. </template>
  12. <script setup lang="ts">
  13. // 基础
  14. import type { Ref } from 'vue';
  15. import { ref } from 'vue';
  16. //类型
  17. const type: Ref<string> = ref('5');
  18. </script>
  19. <style scoped lang="scss">
  20. .main {
  21. padding: 2px;
  22. }
  23. </style>