mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore: 1
This commit is contained in:
@@ -29,3 +29,11 @@
|
||||
.fs-form-wrapper .fs-form-header {
|
||||
padding-right: 30px !important;
|
||||
}
|
||||
|
||||
|
||||
.fs-values-format .fs-tag{
|
||||
display: inline-flex;
|
||||
.fs-icon{
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<a-button class="cd-secret-plain-getter ml-5">
|
||||
<fs-icon class="pointer" :icon="computedIcon" @click="showPlain" />
|
||||
<a-button class="cd-secret-plain-getter ml-5" @click="showPlain">
|
||||
<fs-icon class="pointer" :icon="computedIcon" />
|
||||
</a-button>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</template>
|
||||
</a-list-item-meta>
|
||||
<div>
|
||||
<a-textarea :value="item.content" rows="5" />
|
||||
<a-textarea :value="item.content" :rows="5" />
|
||||
</div>
|
||||
</a-list-item>
|
||||
</template>
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<a-timeline-item v-if="status && runnable" class="pi-history-timeline-item" :color="status.color">
|
||||
<a-timeline-item v-if="status && runnable" class="pi-history-timeline-item" :color="status.iconColor || status.color">
|
||||
<template #dot>
|
||||
<fs-icon v-bind="status" />
|
||||
<fs-icon v-bind="status" :color="status.iconColor || status.color" />
|
||||
</template>
|
||||
<p>
|
||||
<fs-date-format :model-value="runnable.status?.startTime"></fs-date-format>
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<span v-if="statusRef" class="pi-status-show flex-o">
|
||||
<template v-if="type === 'icon'">
|
||||
<fs-icon class="status-icon" v-bind="statusRef" :style="{ color: statusRef.color }" />
|
||||
<fs-icon class="status-icon" v-bind="statusRef" :style="{ color: statusRef.iconColor || statusRef.color }" />
|
||||
</template>
|
||||
<template v-if="type === 'tag'">
|
||||
<a-tag :color="statusRef.color">{{ statusRef.label }}</a-tag>
|
||||
|
||||
@@ -42,6 +42,7 @@ const StatusEnum: StatusEnumType = {
|
||||
value: "canceled",
|
||||
label: "已取消",
|
||||
color: "yellow",
|
||||
iconColor: "#d4b106",
|
||||
icon: "ant-design:minus-circle-twotone"
|
||||
},
|
||||
none: {
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
export function isDev() {
|
||||
return process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'local';
|
||||
}
|
||||
export { isDev } from '@certd/pipeline';
|
||||
|
||||
Reference in New Issue
Block a user