fix: 隐藏后,立即取消选中组件

This commit is contained in:
tnt group 2022-09-28 17:34:11 +08:00
parent 634b5c2bea
commit abbf678e89

View File

@ -850,6 +850,12 @@ export const useChartEditStore = defineStore({
}
this.updateComponentList(index, targetItem)
loadingFinish()
// 取消选择隐藏
if (status) {
const chartEditStore = useChartEditStore()
chartEditStore.setTargetSelectChart(undefined)
}
return
}
} catch (value) {