forked from github/dataease
fix(数据大屏): 修复快捷键删除多选区域仅删除最有一个组件的问题
This commit is contained in:
parent
cac6b54457
commit
a60aa76a07
@ -235,7 +235,7 @@ function preview() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function deleteComponent() {
|
function deleteComponent() {
|
||||||
if (curComponent.value) {
|
if (curComponent.value && curComponent.value.component !== 'GroupArea') {
|
||||||
const curInfo = getCurInfo()
|
const curInfo = getCurInfo()
|
||||||
if (curInfo) {
|
if (curInfo) {
|
||||||
dvMainStore.deleteComponent(curInfo.index, curInfo.componentData)
|
dvMainStore.deleteComponent(curInfo.index, curInfo.componentData)
|
||||||
|
Loading…
Reference in New Issue
Block a user