mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(Data Source): No corresponding prompts were found regarding the synchronized table structure.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -397,7 +397,9 @@
|
||||
"low_version": "낮은 버전 호환",
|
||||
"ssl": "SSL 활성화"
|
||||
},
|
||||
"sync_fields": "동기화된 테이블 구조"
|
||||
"sync_fields": "동기화된 테이블 구조",
|
||||
"sync_fields_success": "테이블 구조 동기화 성공",
|
||||
"sync_fields_failed": "테이블 구조 동기화 실패"
|
||||
},
|
||||
"datasource": {
|
||||
"recommended_question": "추천 질문",
|
||||
|
||||
@@ -397,7 +397,9 @@
|
||||
"low_version": "兼容低版本",
|
||||
"ssl": "启用 SSL"
|
||||
},
|
||||
"sync_fields": "同步表结构"
|
||||
"sync_fields": "同步表结构",
|
||||
"sync_fields_success": "同步表结构成功",
|
||||
"sync_fields_failed": "同步表结构失败"
|
||||
},
|
||||
"datasource": {
|
||||
"recommended_question": "推荐问题",
|
||||
|
||||
@@ -397,7 +397,9 @@
|
||||
"low_version": "相容低版本",
|
||||
"ssl": "啟用 SSL"
|
||||
},
|
||||
"sync_fields": "同步表結構"
|
||||
"sync_fields": "同步表結構",
|
||||
"sync_fields_success": "同步表結構成功",
|
||||
"sync_fields_failed": "同步表結構失敗"
|
||||
},
|
||||
"datasource": {
|
||||
"recommended_question": "推薦問題",
|
||||
|
||||
@@ -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()"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user