diff --git a/src/store/modules/chartEditStore/chartEditStore.ts b/src/store/modules/chartEditStore/chartEditStore.ts index 455d6339..f3fc4356 100644 --- a/src/store/modules/chartEditStore/chartEditStore.ts +++ b/src/store/modules/chartEditStore/chartEditStore.ts @@ -850,6 +850,12 @@ export const useChartEditStore = defineStore({ } this.updateComponentList(index, targetItem) loadingFinish() + + // 取消选择隐藏 + if (status) { + const chartEditStore = useChartEditStore() + chartEditStore.setTargetSelectChart(undefined) + } return } } catch (value) {