diff --git a/src/font/YouSheBiaoTiHei-2.ttf b/src/font/YouSheBiaoTiHei-2.ttf new file mode 100644 index 000000000..3729151a2 Binary files /dev/null and b/src/font/YouSheBiaoTiHei-2.ttf differ diff --git a/src/font/font.css b/src/font/font.css index c9a06976c..943424c3a 100644 --- a/src/font/font.css +++ b/src/font/font.css @@ -1,5 +1,5 @@ -/* 导航栏 */ -@font-face { - font-family: "YouSheBiaoTiHei"; - src: url('./youshebiaotihei-2-webfont.woff2'); +/* 导航栏 */ +@font-face { + font-family: "YouSheBiaoTiHei"; + src: url('./YouSheBiaoTiHei-2.ttf'); } \ No newline at end of file diff --git a/src/forge/DevOps/cardList/index.jsx b/src/forge/DevOps/cardList/index.jsx index 06693a032..7986ea427 100644 --- a/src/forge/DevOps/cardList/index.jsx +++ b/src/forge/DevOps/cardList/index.jsx @@ -128,8 +128,8 @@ function CardDevops(props) {
- {statusEnum[+e.run_data.status] || (e.file_name ? "待启动" : "待设计")} - {!!e.run_data.index && #{e.run_data.index} {timeAgo(e.run_data.stopped)} 执行时长{secondsToTimeFormat(e.run_data.length)}} + {statusEnum[+e.run_data.status] || ((!e.json && !e.yaml) ? "待启动" : "待设计")} + {!!e.run_data.total && #{e.run_data.total} {timeAgo(e.run_data.stopped)} 执行时长{secondsToTimeFormat(e.run_data.length)}}
分支:{e.branch}