提交 120dd256 authored 作者: junjie's avatar junjie

feat(frontend):fix

上级 893d5c68
...@@ -770,7 +770,8 @@ export default { ...@@ -770,7 +770,8 @@ export default {
edit_custom_table: 'Edit self help dataset', edit_custom_table: 'Edit self help dataset',
edit_field: 'Edit Field', edit_field: 'Edit Field',
preview_100_data: 'Show 100 lines data', 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: {
datasource: 'Data Source', datasource: 'Data Source',
......
...@@ -770,7 +770,8 @@ export default { ...@@ -770,7 +770,8 @@ export default {
edit_custom_table: '編輯自助數據集', edit_custom_table: '編輯自助數據集',
edit_field: '編輯自斷', edit_field: '編輯自斷',
preview_100_data: '顯示前100行數據', preview_100_data: '顯示前100行數據',
invalid_table_check: '非直連數據集請先完成數據同步' invalid_table_check: '非直連數據集請先完成數據同步',
parse_error: '解析錯誤'
}, },
datasource: { datasource: {
datasource: '數據源', datasource: '數據源',
......
...@@ -770,7 +770,8 @@ export default { ...@@ -770,7 +770,8 @@ export default {
edit_custom_table: '编辑自助数据集', edit_custom_table: '编辑自助数据集',
edit_field: '编辑字段', edit_field: '编辑字段',
preview_100_data: '显示前100行数据', preview_100_data: '显示前100行数据',
invalid_table_check: '非直连数据集请先完成数据同步' invalid_table_check: '非直连数据集请先完成数据同步',
parse_error: '解析错误'
}, },
datasource: { datasource: {
datasource: '数据源', datasource: '数据源',
......
...@@ -132,6 +132,11 @@ export default { ...@@ -132,6 +132,11 @@ export default {
}, },
uploadFail(response, file, fileList) { uploadFail(response, file, fileList) {
this.uploading = false this.uploading = false
this.$message({
type: 'error',
message: this.$t('dataset.parse_error'),
showClose: true
})
}, },
uploadSuccess(response, file, fileList) { uploadSuccess(response, file, fileList) {
// console.log(response) // console.log(response)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论