riku
2024-07-15 b292a0a81869547e94fd85e783f9597db241a87e
src/views/inspection/WorkStream.vue
@@ -1,5 +1,6 @@
<template>
  <div class="border-r-small m-h-2 p-h-4">
  <!-- <div class="border-r-small m-h-2 p-h-4"> -->
  <BaseCard>
    <el-scrollbar ref="scrollbarRef" :height="height">
      <div ref="scrollContentRef">
        <div v-for="item in streams" :key="item.index">
@@ -12,7 +13,8 @@
        </div>
      </div>
    </el-scrollbar>
  </div>
  </BaseCard>
  <!-- </div> -->
</template>
<script setup>
import { reactive, ref, onMounted, inject } from 'vue'
@@ -21,7 +23,7 @@
import { unCalc } from '@/utils/css-util'
const excludeMapHeight = inject('excludeMapHeight')
const height = `calc(${unCalc(excludeMapHeight)} - 30px)`
const height = `calc(${unCalc(excludeMapHeight)} - 36px)`
const streams = reactive([])
const scrollContentRef = ref()