chore: try to add stop task more info --fix pass status #75

This commit is contained in:
duorameng
2026-04-30 16:11:25 +08:00
parent 40e37b797c
commit d8fcafcd94
3 changed files with 37 additions and 2 deletions
+3 -1
View File
@@ -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="确认清空日志?">
+4 -1
View File
@@ -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"