mirror of
https://github.com/certd/certd.git
synced 2026-05-15 20:47:31 +08:00
chore: pref
This commit is contained in:
+3
-2
@@ -10,8 +10,9 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, ref, provide, Ref, watch, computed } from "vue";
|
||||
import { computed, defineComponent } from "vue";
|
||||
import { statusUtil } from "/@/views/certd/pipeline/pipeline/utils/util.status";
|
||||
|
||||
export default defineComponent({
|
||||
name: "PiStatusShow",
|
||||
props: {
|
||||
@@ -26,7 +27,7 @@ export default defineComponent({
|
||||
},
|
||||
setup(props, ctx) {
|
||||
const statusRef = computed(() => {
|
||||
return statusUtil.get(props.status);
|
||||
return statusUtil.get(props.status as string);
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
@@ -14,6 +14,7 @@ const StatusEnum: StatusEnumType = {
|
||||
value: "success",
|
||||
label: "成功",
|
||||
color: "green",
|
||||
spin: true,
|
||||
icon: "ant-design:check-circle-outlined"
|
||||
},
|
||||
error: {
|
||||
|
||||
Reference in New Issue
Block a user