From acf90b3d7df2bfb030dd2e1e62efb32261f1dd8d Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 24 Mar 2023 10:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E7=89=88=E6=9C=AC=E5=9B=9E=E9=80=80?= =?UTF-8?q?=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/packages/common/AiArea.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/packages/common/AiArea.vue b/ui/packages/common/AiArea.vue index eb093091..6eec7a40 100644 --- a/ui/packages/common/AiArea.vue +++ b/ui/packages/common/AiArea.vue @@ -101,10 +101,7 @@ export default { header: levelLabels[i], list })).slice(Math.max(0, this.startLevel), this.endLevel) if (this.startLevel > 0 && ops.length > 0) { - const tmp = this.$copy(ops[0]?.list?.[0] || {}) - const prev = +tmp.type - 1 - const prevId = tmp.parentId - prev > -1 && ops.unshift({header: levelLabels[prev], list: [this.hashMap[prevId]]}) + ops[0].list = ops[0].list.filter(e => e.id == this.selectedMap[this.startLevel]) } return ops }