feat(frontend):fix

This commit is contained in:
junjie 2021-05-18 12:02:04 +08:00
parent 893d5c68e6
commit 120dd256aa
4 changed files with 11 additions and 3 deletions

View File

@ -770,7 +770,8 @@ export default {
edit_custom_table: 'Edit self help dataset',
edit_field: 'Edit Field',
preview_100_data: 'Show 100 lines data',
invalid_table_check: 'Please sync data first.'
invalid_table_check: 'Please sync data first.',
parse_error: 'Parse Error'
},
datasource: {
datasource: 'Data Source',

View File

@ -770,7 +770,8 @@ export default {
edit_custom_table: '編輯自助數據集',
edit_field: '編輯自斷',
preview_100_data: '顯示前100行數據',
invalid_table_check: '非直連數據集請先完成數據同步'
invalid_table_check: '非直連數據集請先完成數據同步',
parse_error: '解析錯誤'
},
datasource: {
datasource: '數據源',

View File

@ -770,7 +770,8 @@ export default {
edit_custom_table: '编辑自助数据集',
edit_field: '编辑字段',
preview_100_data: '显示前100行数据',
invalid_table_check: '非直连数据集请先完成数据同步'
invalid_table_check: '非直连数据集请先完成数据同步',
parse_error: '解析错误'
},
datasource: {
datasource: '数据源',

View File

@ -132,6 +132,11 @@ export default {
},
uploadFail(response, file, fileList) {
this.uploading = false
this.$message({
type: 'error',
message: this.$t('dataset.parse_error'),
showClose: true
})
},
uploadSuccess(response, file, fileList) {
// console.log(response)