You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
520 B
18 lines
520 B
<template>
|
|
<!-- <view>任务开始时间延迟插件</view> -->
|
|
<view v-if="realStart && planStart">
|
|
<!-- 任务开始时间延迟插件 -->
|
|
<!-- 超时 -->
|
|
<span>{{ $time.formatDuration(+realStart - +planStart) }}</span>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { computed, defineProps } from 'vue';
|
|
|
|
const props = defineProps({ task: { default: () => {}, type: Object } });
|
|
|
|
const realStart = computed(() => props.task.realStart);
|
|
const planStart = computed(() => props.task.planStart);
|
|
|
|
</script>
|
|
|