merge: main feat-upgrade-vue3

This commit is contained in:
IchliebedichZhu 2024-03-29 15:43:25 +00:00
parent d49ccc5ec9
commit 9c664506ba

View File

@ -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)
})