chore: try to add stop task more info --fix pass status #75
This commit is contained in:
@@ -494,7 +494,9 @@ watch(() => route.query, (newQuery) => {
|
||||
<!-- 全屏查看日志 -->
|
||||
<LogViewer v-model:open="showFullscreen"
|
||||
:log="selectedLog"
|
||||
:content="decompressedOutput" />
|
||||
:is-stopping="isStopping"
|
||||
:content="decompressedOutput"
|
||||
@stop="stopTask" />
|
||||
|
||||
<!-- 清空日志确认弹窗 -->
|
||||
<BaihuDialog v-model:open="showClearDialog" title="确认清空日志?">
|
||||
|
||||
@@ -10,10 +10,12 @@ const props = withDefaults(defineProps<{
|
||||
title?: string
|
||||
loading?: boolean
|
||||
variant?: 'full' | 'simple'
|
||||
isStopping?: boolean
|
||||
emptyTitle?: string
|
||||
emptyDescription?: string
|
||||
}>(), {
|
||||
variant: 'simple'
|
||||
variant: 'simple',
|
||||
isStopping: false
|
||||
})
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -70,6 +72,7 @@ onUnmounted(() => {
|
||||
:content="content"
|
||||
:title="title"
|
||||
:loading="loading"
|
||||
:is-stopping="isStopping"
|
||||
:variant="isFullscreen ? 'simple' : variant"
|
||||
:empty-title="emptyTitle"
|
||||
:empty-description="emptyDescription"
|
||||
|
||||
Reference in New Issue
Block a user