From 9c664506bafcd8a44e129eb1bf48c47909243787 Mon Sep 17 00:00:00 2001 From: IchliebedichZhu <54796446@qq.com> Date: Fri, 29 Mar 2024 15:43:25 +0000 Subject: [PATCH] merge: main feat-upgrade-vue3 --- src/mixins/methods/dealWithCtrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixins/methods/dealWithCtrl.ts b/src/mixins/methods/dealWithCtrl.ts index 1782f32..d8782d3 100644 --- a/src/mixins/methods/dealWithCtrl.ts +++ b/src/mixins/methods/dealWithCtrl.ts @@ -47,7 +47,7 @@ export default function dealWithCtrl(e: KeyboardEvent, _this: any) { function checkGroupChild(pid: number | string, key: any) { const widgetStore = useWidgetStore() let itHas = false - const childs = widgetStore.dWidgets.filter((x: any) => x.parent === pid) || [] + const childs = widgetStore.dWidgets.filter((x) => x.parent === pid) || [] childs.forEach((element: any) => { element[key] && (itHas = true) })