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

This commit is contained in:
奔跑的面条
2022-06-21 17:39:16 +08:00
parent 455e387a62
commit 0f73536ce0
6 changed files with 73 additions and 67 deletions
@@ -123,7 +123,8 @@ const expandHindle = () => {
const selectTarget = computed(() => {
const selectId = chartEditStore.getTargetChart.selectId
if (!selectId) return undefined
// 排除多个
if (selectId.length !== 1) return undefined
return chartEditStore.componentList[chartEditStore.fetchTargetIndex()]
})