feat: RecommendQuestion disable click css

This commit is contained in:
ulleo
2025-07-22 18:41:11 +08:00
parent 302351b04f
commit 9e3b139e73
@@ -164,6 +164,7 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
v-for="(question, index) in computedQuestions"
:key="index"
class="question"
:class="{ disabled: disabled }"
@click="clickQuestion(question)"
>
{{ question }}
@@ -203,6 +204,10 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
&:hover {
background: rgba(31, 35, 41, 0.1);
}
&.disabled {
cursor: not-allowed;
background: rgba(245, 246, 247, 1);
}
}
}
</style>