BottomTabs.vue 591 B

1234567891011121314151617181920212223
  1. <script setup lang="ts">
  2. import { onMounted, reactive, ref } from "vue";
  3. const Render = () => {
  4. // 重新渲染
  5. // hotRef.value && hotRef.value.Render();
  6. console.log("bottom tabs render");
  7. };
  8. defineExpose({
  9. Render,
  10. });
  11. </script>
  12. <template>
  13. <el-tabs type="border-card" class="bottom-tabs">
  14. <el-tab-pane label="定额/工料机">定额/工料机</el-tab-pane>
  15. <el-tab-pane label="清单对比">清单对比</el-tab-pane>
  16. <el-tab-pane label="价格曲线图">价格曲线图</el-tab-pane>
  17. </el-tabs>
  18. </template>
  19. <style lang="scss" src="./style.scss" scoped></style>