diff --git a/frontend/src/views/dataset/common/DatasetGroupSelector.vue b/frontend/src/views/dataset/common/DatasetGroupSelector.vue index 0a82c28262..e1071ab0b3 100644 --- a/frontend/src/views/dataset/common/DatasetGroupSelector.vue +++ b/frontend/src/views/dataset/common/DatasetGroupSelector.vue @@ -132,6 +132,11 @@ export default { type: Object, required: false, default: null + }, + showMode: { + type: String, + required: false, + default: null } }, data() { @@ -283,7 +288,7 @@ export default { return } // check mode=1的数据集是否创建doris表 - if (data.mode === 1) { + if (data.mode === 1 && !this.showMode) { post('/dataset/table/checkDorisTableIsExists/' + data.id, {}, false).then(response => { if (response.data) { this.$nextTick(function() { diff --git a/frontend/src/views/dataset/data/UnionView.vue b/frontend/src/views/dataset/data/UnionView.vue index bf0d804456..b5d4e2940c 100644 --- a/frontend/src/views/dataset/data/UnionView.vue +++ b/frontend/src/views/dataset/data/UnionView.vue @@ -92,7 +92,7 @@ width="500" trigger="click" > - +

{{ targetTable.name || $t('dataset.pls_slc_union_table') }}

@@ -193,21 +193,21 @@ export default { showUnionEdit() { // 校验同步状态 - post('/dataset/table/checkDorisTableIsExists/' + this.table.id, {}, true).then(response => { - if (response.data) { - this.union.sourceTableId = this.table.id - fieldList(this.table.id).then(response => { - this.sourceFieldOption = response.data - }) - this.editUnion = true - } else { - this.$message({ - type: 'error', - message: this.$t('dataset.invalid_table_check'), - showClose: true - }) - } + // post('/dataset/table/checkDorisTableIsExists/' + this.table.id, {}, true).then(response => { + // if (response.data) { + this.union.sourceTableId = this.table.id + fieldList(this.table.id).then(response => { + this.sourceFieldOption = response.data }) + this.editUnion = true + // } else { + // this.$message({ + // type: 'error', + // message: this.$t('dataset.invalid_table_check'), + // showClose: true + // }) + // } + // }) }, saveUnion() { // console.log(this.union)