refactor(content-style): 将"批量分析"统一重命名为"风格提取"
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
- 修改 BatchAnalyzeModal 中的成功提示文本 - 更新 BenchmarkTable 中的按钮文本 - 调整 useBenchmarkAnalysis 中的加载提示和错误信息 - 移除 BenchmarkTaskList 中已不再使用的提示词查看和复制功能
This commit is contained in:
@@ -63,24 +63,6 @@
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<div class="flex gap-1">
|
||||
<Button
|
||||
v-if="record.status === 2 && record.generatedPrompt"
|
||||
variant="link"
|
||||
size="sm"
|
||||
class="h-auto p-0"
|
||||
@click="handleViewPrompt(record)"
|
||||
>
|
||||
查看
|
||||
</Button>
|
||||
<Button
|
||||
v-if="record.status === 2 && record.generatedPrompt"
|
||||
variant="link"
|
||||
size="sm"
|
||||
class="h-auto p-0"
|
||||
@click="handleCopyPrompt(record)"
|
||||
>
|
||||
复制
|
||||
</Button>
|
||||
<AlertDialog v-if="record.status !== 1">
|
||||
<AlertDialogTrigger as-child>
|
||||
<Button variant="link" size="sm" class="h-auto p-0 text-destructive">
|
||||
@@ -112,24 +94,6 @@
|
||||
</Table>
|
||||
</template>
|
||||
|
||||
<!-- 弹窗 -->
|
||||
<template #modals>
|
||||
<!-- 提示词弹窗 -->
|
||||
<Dialog v-model:open="promptModalVisible">
|
||||
<DialogContent class="sm:max-w-[700px]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>生成的提示词</DialogTitle>
|
||||
</DialogHeader>
|
||||
<div class="prompt-content">{{ currentPrompt }}</div>
|
||||
<DialogFooter>
|
||||
<Button @click="handleCopyCurrentPrompt">
|
||||
<Icon icon="lucide:copy" class="size-4" />
|
||||
复制到剪贴板
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</template>
|
||||
</TaskPageLayout>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user