Merge pull request #5006 from dataease/pr@dev@fix_dss

fix(数据集): 修复校验sql卡顿导致数据集重名
This commit is contained in:
Junjun 2023-04-12 12:03:57 +08:00 committed by GitHub
commit d4087b77fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@
<deBtn <deBtn
:disabled="['db', 'excel', 'api'].includes(datasetType) && !tableNum" :disabled="['db', 'excel', 'api'].includes(datasetType) && !tableNum"
type="primary" type="primary"
:loading="loading"
@click="datasetSave" @click="datasetSave"
>{{ >{{
$t('commons.save') $t('commons.save')
@ -184,6 +185,7 @@ export default {
return return
} }
} }
this.loading = true
this.$refs.addDataset.save() this.$refs.addDataset.save()
}, },
handleClick() { handleClick() {