fix:修改删除的bug

This commit is contained in:
MTrun
2022-02-01 01:20:00 +08:00
parent 25368419a3
commit 6f93de7ad4
8 changed files with 23 additions and 29 deletions
@@ -31,11 +31,11 @@ const chartEditStore = useChartEditStoreStore()
// 计算当前选中目标
const hover = computed(() => {
return props.item.id === chartEditStore.getTargetChart.hoverIndex
return props.item.id === chartEditStore.getTargetChart.hoverId
})
const select = computed(() => {
return props.item.id === chartEditStore.getTargetChart.selectIndex
return props.item.id === chartEditStore.getTargetChart.selectId
})
</script>