fix(数据大屏): 修复复制组合内的组件,会有控制台错误信息打印问题

This commit is contained in:
wangjiahao 2024-07-30 17:12:33 +08:00
parent b1e631f00f
commit 654fba2953

View File

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