fix:修改删除的bug

This commit is contained in:
MTrun
2022-02-01 01:20:00 +08:00
parent c92510863f
commit b9501cee37
8 changed files with 23 additions and 29 deletions
@@ -43,11 +43,11 @@ const { image, title } = toRefs(props.componentData.chartData)
// 计算当前选中目标
const select = computed(() => {
return props.componentData.id === chartEditStore.getTargetChart.selectIndex
return props.componentData.id === chartEditStore.getTargetChart.selectId
})
const hover = computed(() => {
return props.componentData.id === chartEditStore.getTargetChart.hoverIndex
return props.componentData.id === chartEditStore.getTargetChart.hoverId
})
</script>