fix: 数据集点击过快重名

This commit is contained in:
dataeaseShu 2023-04-13 22:55:52 +08:00
parent f01543669d
commit 431f8a643d
5 changed files with 5 additions and 0 deletions

View File

@ -420,6 +420,7 @@ export default {
this.openMessageSuccess('deDataset.cannot_be_duplicate', 'error')
return
}
if (this.loading) return
this.loading = true
const sceneId = this.param.id
const dataSourceId = this.dataSource

View File

@ -439,6 +439,7 @@ export default {
this.openMessageSuccess('deDataset.cannot_be_duplicate', 'error')
return
}
if (this.loading) return
this.loading = true
const sceneId = this.param.id
const dataSourceId = this.dataSource

View File

@ -591,6 +591,7 @@ export default {
}
this.handlerConfirm(options)
} else {
if (this.loading) return
this.loading = true
post('/dataset/table/update', table)
.then((response) => {

View File

@ -1011,6 +1011,7 @@ export default {
return
}
this.parseVariable()
if (this.loading) return
this.loading = true
const table = {
id: this.param.tableId,

View File

@ -261,6 +261,7 @@ export default {
this.openMessageSuccess('dataset.char_can_not_more_50', 'error')
return
}
if (this.loading) return
this.loading = true
const table = {
id: this.param.tableId,