mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: RecommendQuestion disable click css
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user