mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 12:03:05 +08:00
fix: 数据集点击过快重名
This commit is contained in:
parent
f01543669d
commit
431f8a643d
@ -420,6 +420,7 @@ export default {
|
|||||||
this.openMessageSuccess('deDataset.cannot_be_duplicate', 'error')
|
this.openMessageSuccess('deDataset.cannot_be_duplicate', 'error')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (this.loading) return
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const sceneId = this.param.id
|
const sceneId = this.param.id
|
||||||
const dataSourceId = this.dataSource
|
const dataSourceId = this.dataSource
|
||||||
|
@ -439,6 +439,7 @@ export default {
|
|||||||
this.openMessageSuccess('deDataset.cannot_be_duplicate', 'error')
|
this.openMessageSuccess('deDataset.cannot_be_duplicate', 'error')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (this.loading) return
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const sceneId = this.param.id
|
const sceneId = this.param.id
|
||||||
const dataSourceId = this.dataSource
|
const dataSourceId = this.dataSource
|
||||||
|
@ -591,6 +591,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.handlerConfirm(options)
|
this.handlerConfirm(options)
|
||||||
} else {
|
} else {
|
||||||
|
if (this.loading) return
|
||||||
this.loading = true
|
this.loading = true
|
||||||
post('/dataset/table/update', table)
|
post('/dataset/table/update', table)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
@ -1011,6 +1011,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.parseVariable()
|
this.parseVariable()
|
||||||
|
if (this.loading) return
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const table = {
|
const table = {
|
||||||
id: this.param.tableId,
|
id: this.param.tableId,
|
||||||
|
@ -261,6 +261,7 @@ export default {
|
|||||||
this.openMessageSuccess('dataset.char_can_not_more_50', 'error')
|
this.openMessageSuccess('dataset.char_can_not_more_50', 'error')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (this.loading) return
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const table = {
|
const table = {
|
||||||
id: this.param.tableId,
|
id: this.param.tableId,
|
||||||
|
Loading…
Reference in New Issue
Block a user