File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ const retrieveQuestions = () => {
1919 recentQuestionRef .value .getRecentQuestions ()
2020}
2121const quickAsk = (question : string ) => {
22+ if (props .disabled ) {
23+ return
24+ }
2225 emits (' quickAsk' , question )
2326 hiddenProps ()
2427}
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ defineExpose({
119119 <el-icon class =" delete-item" ><Delete @click =" deleteRecommendedProblem(index)" /></el-icon >
120120 </el-row >
121121 </el-form-item >
122- <div v-if =" state.recommended.recommendedProblemList.length < 4 " >
122+ <div v-if =" state.recommended.recommendedProblemList.length < 10 " >
123123 <el-button text @click =" addRecommendedProblem" >
124124 {{ $t('datasource.add_question') }}</el-button
125125 >
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ const typeChange = (val: any) => {
528528 <template #icon >
529529 <icon _add_outlined ></icon _add_outlined >
530530 </template >
531- {{ $t('prompt.add_prompt_word') }}11
531+ {{ $t('prompt.add_prompt_word') }}
532532 </el-button >
533533 </div >
534534 </div >
You can’t perform that action at this time.
0 commit comments