riku
2024-06-12 58a5242ff58523f5d048da13fc543ffba5065414
src/components/inspection/TaskNode.vue
@@ -1,7 +1,10 @@
<template>
  <div>
    <el-row justify="center">{{ title }}</el-row>
    <div class="border-r-small f-b">
    <el-row justify="start">
      <div>{{ title }}</div>
      <el-text type="danger" size="small">{{ warning }}</el-text>
    </el-row>
    <div class="border-r-small font-base">
      <div v-for="(item, i) in items" :key="title + i">
        <slot :item="item" :index="i"></slot>
      </div>
@@ -16,6 +19,7 @@
export default {
  props: {
    title: String,
    warning: String,
    count: Number,
    items: Array
  },