From 9e3b139e73e278c8c83b559dc32cedf3975cb792 Mon Sep 17 00:00:00 2001 From: ulleo Date: Tue, 22 Jul 2025 18:41:11 +0800 Subject: [PATCH] feat: RecommendQuestion disable click css --- frontend/src/views/chat/RecommendQuestion.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/views/chat/RecommendQuestion.vue b/frontend/src/views/chat/RecommendQuestion.vue index 319cf483..f77060ca 100644 --- a/frontend/src/views/chat/RecommendQuestion.vue +++ b/frontend/src/views/chat/RecommendQuestion.vue @@ -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); + } } }