fix(Data Source): No corresponding prompts were found regarding the synchronized table structure.

This commit is contained in:
dataeaseShu
2026-05-07 10:22:02 +08:00
committed by dataeaseShu
parent 2d3bd3d7f2
commit 2b629e3173
5 changed files with 15 additions and 4 deletions
+3 -1
View File
@@ -397,7 +397,9 @@
"low_version": "Compatible with lower versions",
"ssl": "Enable SSL"
},
"sync_fields": "Sync Fields"
"sync_fields": "Sync Fields",
"sync_fields_success": "Sync fields successfully",
"sync_fields_failed": "Sync fields failed"
},
"datasource": {
"recommended_question": "Recommended Question",
+3 -1
View File
@@ -397,7 +397,9 @@
"low_version": "낮은 버전 호환",
"ssl": "SSL 활성화"
},
"sync_fields": "동기화된 테이블 구조"
"sync_fields": "동기화된 테이블 구조",
"sync_fields_success": "테이블 구조 동기화 성공",
"sync_fields_failed": "테이블 구조 동기화 실패"
},
"datasource": {
"recommended_question": "추천 질문",
+3 -1
View File
@@ -397,7 +397,9 @@
"low_version": "兼容低版本",
"ssl": "启用 SSL"
},
"sync_fields": "同步表结构"
"sync_fields": "同步表结构",
"sync_fields_success": "同步表结构成功",
"sync_fields_failed": "同步表结构失败"
},
"datasource": {
"recommended_question": "推荐问题",
+3 -1
View File
@@ -397,7 +397,9 @@
"low_version": "相容低版本",
"ssl": "啟用 SSL"
},
"sync_fields": "同步表結構"
"sync_fields": "同步表結構",
"sync_fields_success": "同步表結構成功",
"sync_fields_failed": "同步表結構失敗"
},
"datasource": {
"recommended_question": "推薦問題",
+3
View File
@@ -262,10 +262,12 @@ const syncFields = () => {
.syncFields(currentTable.value.id)
.then(() => {
btnSelectClick('d')
ElMessage.success(t('ds.sync_fields_success'))
loading.value = false
})
.catch(() => {
loading.value = false
ElMessage.warning(t('ds.sync_fields_failed'))
})
}
@@ -546,6 +548,7 @@ const btnSelectClick = (val: any) => {
<el-button
v-if="ds.type !== 'excel'"
:icon="Refresh"
secondary
style="margin-left: 12px"
@click="syncFields()"
>