Merge pull request #11272 from dataease/pr@dev-v2@fix_group-copy

fix(数据大屏): 修复复制组合内的组件,会有控制台错误信息打印问题
This commit is contained in:
王嘉豪 2024-07-30 17:13:26 +08:00 committed by GitHub
commit 5ffbe05a43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,7 @@ const menuAsideClose = (param, index) => {
if (iconDom) { if (iconDom) {
iconDom.click() iconDom.click()
} }
if (param.opt === 'rename') { if (param?.opt === 'rename') {
setTimeout(() => { setTimeout(() => {
editComponentName(getComponent(index)) editComponentName(getComponent(index))
}, 200) }, 200)