From 89ab2ec7f8790c5cc184de98682af032c69c2afc Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 11 九月 2024 15:13:27 +0800 Subject: [PATCH] 2024.9.11 --- src/components/inspection/TaskNode.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/inspection/TaskNode.vue b/src/components/inspection/TaskNode.vue index 4d5b161..4988c22 100644 --- a/src/components/inspection/TaskNode.vue +++ b/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 }, -- Gitblit v1.9.3