Commit 4e6764ad authored by 姬鋆屾's avatar 姬鋆屾

提交

parent 0dab6e8d
......@@ -187,7 +187,16 @@ export default {
content={arr[index].content}
placement="top-start"
>
<el-tag type={"danger"} size="mini">
<el-tag
type={
arr[index].attendanceSummary.includes("缺卡") ||
arr[index].attendanceSummary.includes("迟到") ||
arr[index].attendanceSummary.includes("早退")
? "danger"
: "success"
}
size="mini"
>
{arr[index].attendanceSummary}
</el-tag>
</el-tooltip>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment