From 0a97c702074830791cb29a158098f05c8033c4b1 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 07 六月 2024 17:39:43 +0800 Subject: [PATCH] 原型制作中 --- src/components/inspection/TaskNode.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/components/inspection/TaskNode.vue b/src/components/inspection/TaskNode.vue index 4d5b161..71fa853 100644 --- a/src/components/inspection/TaskNode.vue +++ b/src/components/inspection/TaskNode.vue @@ -1,6 +1,9 @@ <template> <div> - <el-row justify="center">{{ title }}</el-row> + <el-row justify="start"> + <div>{{ title }}</div> + <el-text type="danger" size="small">{{ warning }}</el-text> + </el-row> <div class="border-r-small f-b"> <div v-for="(item, i) in items" :key="title + i"> <slot :item="item" :index="i"></slot> @@ -16,6 +19,7 @@ export default { props: { title: String, + warning: String, count: Number, items: Array }, -- Gitblit v1.9.3