feat: 新增多选中的前置处理,选中存储对象修改成数组形式

This commit is contained in:
奔跑的面条
2022-06-21 17:39:16 +08:00
parent 4355c766fd
commit d735bc93ce
6 changed files with 73 additions and 67 deletions
@@ -43,7 +43,8 @@ const { image } = toRefs(props.componentData.chartConfig)
// 计算当前选中目标
const select = computed(() => {
return props.componentData.id === chartEditStore.getTargetChart.selectId
const id = props.componentData.id
return chartEditStore.getTargetChart.selectId.find((e: string) => e === id)
})
const hover = computed(() => {