diff --git a/core/core-frontend/src/store/modules/data-visualization/lock.ts b/core/core-frontend/src/store/modules/data-visualization/lock.ts index 59aa854f7d..4ab0b44014 100644 --- a/core/core-frontend/src/store/modules/data-visualization/lock.ts +++ b/core/core-frontend/src/store/modules/data-visualization/lock.ts @@ -9,10 +9,20 @@ export const lockStore = defineStore('lock', { actions: { lock() { curComponent.value.isLock = true + if (curComponent.value.component === 'Group') { + curComponent.value.propValue.forEach(component => { + component.isLock = true + }) + } }, unlock() { curComponent.value.isLock = false + if (curComponent.value.component === 'Group') { + curComponent.value.propValue.forEach(component => { + component.isLock = false + }) + } } } })