File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed
Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 44 "Data Q&A" : " Data Q&A" ,
55 "Data Connections" : " Data Sources" ,
66 "Dashboard" : " Dashboard" ,
7- "AI Model Configuration" : " AI Model Configuration"
7+ "AI Model Configuration" : " AI Model Configuration" ,
8+ "Details" : " Details"
89 },
910 "prompt" : {
1011 "no_prompt_words" : " No prompt words" ,
Original file line number Diff line number Diff line change 44 "Data Q&A" : " 스마트 데이터 조회" ,
55 "Data Connections" : " 데이터 소스" ,
66 "Dashboard" : " 대시보드" ,
7- "AI Model Configuration" : " 모델 구성"
7+ "AI Model Configuration" : " 모델 구성" ,
8+ "Details" : " 세부"
89 },
910 "prompt" : {
1011 "no_prompt_words" : " 프롬프트가 없습니다" ,
Original file line number Diff line number Diff line change 44 "Data Q&A" : " 智能问数" ,
55 "Data Connections" : " 数据源" ,
66 "Dashboard" : " 仪表盘" ,
7- "AI Model Configuration" : " 模型配置"
7+ "AI Model Configuration" : " 模型配置" ,
8+ "Details" : " 详情"
89 },
910 "prompt" : {
1011 "no_prompt_words" : " 暂无提示词" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface Form {
2121 prompt: string | null
2222 specific_ds: boolean
2323 datasource_ids: number []
24- datasource_name : string []
24+ datasource_names : string []
2525 name: string | null
2626}
2727
@@ -59,7 +59,7 @@ const defaultForm = {
5959 type: null ,
6060 prompt: null ,
6161 datasource_ids: [],
62- datasource_name : [],
62+ datasource_names : [],
6363 name: null ,
6464 specific_ds: false ,
6565}
@@ -602,7 +602,7 @@ const typeChange = (val: any) => {
602602 </el-drawer >
603603 <el-drawer
604604 v-model =" rowInfoDialog"
605- :title =" $t('professional.professional_term_details ')"
605+ :title =" $t('menu.Details ')"
606606 destroy-on-close
607607 size =" 600px"
608608 :before-close =" onRowFormClose"
@@ -628,7 +628,11 @@ const typeChange = (val: any) => {
628628 </el-form-item >
629629 <el-form-item :label =" t('ds.title')" >
630630 <div class =" content" >
631- {{ pageForm.datasource_name.join() }}
631+ {{
632+ pageForm.datasource_names.length
633+ ? pageForm.datasource_names.join()
634+ : t('training.all_data_sources')
635+ }}
632636 </div >
633637 </el-form-item >
634638 </el-form >
You can’t perform that action at this time.
0 commit comments