{{ description }}
-{{ description }}
+ +{{ image.provider }} {{ image.model }}
++
{{ executionStageLabel(execution.stage) }} · 更新于 {{ formatDate(execution.updatedAt) }}
-范围:{{ scopeLabel }}
+范围:{{ scopeLabel }}
+
{{ progressLabel }} {{ execution.current }} / {{ execution.total }} @@ -295,7 +345,7 @@ function isInputMode(value: unknown, inputMode: string): boolean { }}
-任务编号 · {{ execution.id }}
@@ -325,3 +375,16 @@ function isInputMode(value: unknown, inputMode: string): boolean {内容
' } }) await flushPromises() - expect(wrapper.getComponent(NModal).props()).toMatchObject({ - closable: false, + const frame = kind === '弹窗' ? wrapper.getComponent(NModal) : wrapper.getComponent(NDrawer) + expect(frame.props()).toMatchObject({ maskClosable: false, closeOnEsc: false }) - expect(document.querySelector('.dialog-body-scroll .n-scrollbar-container')).not.toBeNull() + expect( + document.querySelector( + kind === '弹窗' ? '.app-dialog .n-card-header__close' : '.app-drawer .n-drawer-header__close' + ) + ).toBeNull() + const footer = document.querySelector