fix: predict

This commit is contained in:
ulleo
2025-07-17 18:59:50 +08:00
parent 4550b41a99
commit e3ccf5edcc
5 changed files with 7 additions and 4 deletions
@@ -68,7 +68,7 @@ function clickQuestion(question: string): void {
.question-grid {
display: grid;
grid-gap: 12px;
grid-template-columns: repeat(2, 50%);
grid-template-columns: repeat(2, calc(50% - 6px));
}
.question {
@@ -45,6 +45,7 @@ function clickPredict() {
.prefix-title {
color: rgba(28, 186, 144, 1);
white-space: nowrap;
}
}
</style>
+2 -2
View File
@@ -116,7 +116,7 @@
@finish="onChartAnswerFinish"
@error="onChartAnswerError"
>
<ChartBlock :message="message" />
<ChartBlock style="margin-top: 12px" :message="message" />
<div
v-if="message.record?.error && message.record?.error?.trim().length > 0"
class="error-container"
@@ -220,7 +220,7 @@
@finish="onPredictAnswerFinish"
@error="onPredictAnswerError"
>
<ChartBlock :message="message" is-predict />
<ChartBlock style="margin-top: 12px" :message="message" is-predict />
<div
v-if="message.record?.error && message.record?.error?.trim().length > 0"
class="error-container"