forked from github/dataease
fix: 数据集点击过快重名
This commit is contained in:
parent
f01543669d
commit
431f8a643d
@ -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
|
||||
|
@ -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
|
||||
|
@ -591,6 +591,7 @@ export default {
|
||||
}
|
||||
this.handlerConfirm(options)
|
||||
} else {
|
||||
if (this.loading) return
|
||||
this.loading = true
|
||||
post('/dataset/table/update', table)
|
||||
.then((response) => {
|
||||
|
@ -1011,6 +1011,7 @@ export default {
|
||||
return
|
||||
}
|
||||
this.parseVariable()
|
||||
if (this.loading) return
|
||||
this.loading = true
|
||||
const table = {
|
||||
id: this.param.tableId,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user