mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: editor manager getContentSchemas 中 type 获取问题 (#8443)
This commit is contained in:
parent
60b1253b8d
commit
d5b37d1ed0
@ -1983,7 +1983,8 @@ export class EditorManager {
|
||||
|
||||
// 更新组件树中的所有上下文数据声明为最新数据
|
||||
while (scope) {
|
||||
const [nodeId, type] = scope.id.split('-');
|
||||
const [nodeId] = scope.id.split('-');
|
||||
const type = scope.id.replace(`${nodeId}-`, '');
|
||||
const scopeNode = this.store.getNodeById(nodeId, type);
|
||||
|
||||
// 拿非重复组件id的父组件作为主数据域展示,如CRUD,不展示表格,只展示增删改查信息,避免变量面板出现两份数据
|
||||
|
Loading…
Reference in New Issue
Block a user