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); + } } }