mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-05 13:18:48 +08:00
perf: 优化出现弹窗后会复制图表的交互
This commit is contained in:
parent
50e789ee11
commit
c1bd7168e2
@ -456,6 +456,8 @@ export const useChartEditStore = defineStore({
|
|||||||
try {
|
try {
|
||||||
// 暂不支持多选
|
// 暂不支持多选
|
||||||
if (this.getTargetChart.selectId.length > 1) return
|
if (this.getTargetChart.selectId.length > 1) return
|
||||||
|
// 处理弹窗普通复制的场景
|
||||||
|
if (document.getElementsByClassName('n-modal-body-wrapper').length) return
|
||||||
|
|
||||||
loadingStart()
|
loadingStart()
|
||||||
const index: number = this.fetchTargetIndex()
|
const index: number = this.fetchTargetIndex()
|
||||||
|
Loading…
Reference in New Issue
Block a user