Skip to content

Commit 9e3b139

Browse files
committed
feat: RecommendQuestion disable click css
1 parent 302351b commit 9e3b139

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frontend/src/views/chat/RecommendQuestion.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
164164
v-for="(question, index) in computedQuestions"
165165
:key="index"
166166
class="question"
167+
:class="{ disabled: disabled }"
167168
@click="clickQuestion(question)"
168169
>
169170
{{ question }}
@@ -203,6 +204,10 @@ defineExpose({ getRecommendQuestions, id: () => props.recordId, stop })
203204
&:hover {
204205
background: rgba(31, 35, 41, 0.1);
205206
}
207+
&.disabled {
208+
cursor: not-allowed;
209+
background: rgba(245, 246, 247, 1);
210+
}
206211
}
207212
}
208213
</style>

0 commit comments

Comments
 (0)