mirror of
https://github.com/palxiao/poster-design
synced 2024-11-23 00:28:49 +00:00
merge: main feat-upgrade-vue3
This commit is contained in:
parent
d49ccc5ec9
commit
9c664506ba
@ -47,7 +47,7 @@ export default function dealWithCtrl(e: KeyboardEvent, _this: any) {
|
|||||||
function checkGroupChild(pid: number | string, key: any) {
|
function checkGroupChild(pid: number | string, key: any) {
|
||||||
const widgetStore = useWidgetStore()
|
const widgetStore = useWidgetStore()
|
||||||
let itHas = false
|
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) => {
|
childs.forEach((element: any) => {
|
||||||
element[key] && (itHas = true)
|
element[key] && (itHas = true)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user