src/views/inspection/WorkStream.vue
@@ -1,11 +1,12 @@ <template> <!-- <div class="border-r-small m-h-2 p-h-4"> --> <BaseCard> <div> <!-- <div> <input type="text" v-model="inputVal" /> <button @click="handleSend">send</button> <button @click="handleLink">link</button> </div> </div> --> <div>业务状态中控</div> <el-scrollbar ref="scrollbarRef" :height="height"> <div ref="scrollContentRef"> <div v-for="item in streams" :key="item.index"> @@ -109,6 +110,7 @@ } onMounted(() => { handleLink() // setInterval(() => { // streams.push({ // time: dayjs().format('YYYY-MM-DD HH:mm:ss'),