Merge pull request #9546 from allenve/master

fix(editor): editor 数据域查询问题
This commit is contained in:
Allen 2024-01-29 14:35:49 +08:00 committed by GitHub
commit 4314e1d262
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2141,7 +2141,8 @@ export class EditorManager {
}
while (scope) {
const [id, type] = scope.id.split('-');
const [id] = scope.id.split('-');
const type = scope.id.substring(id.length + 1); // replace(`${id}-`, '');
const scopeNode = this.store.getNodeById(id, type);
if (scopeNode && !scopeNode.info?.isListComponent) {