mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix: 数据集点击过快重名
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user