feat: 各应用的设计器隔离

This commit is contained in:
wangxuefeng
2025-03-19 16:11:29 +08:00
parent a4c5f633cf
commit 9a2f29e3e4
11 changed files with 82 additions and 53 deletions

View File

@@ -63,7 +63,7 @@ const initPostmate = async () => {
console.log('ctx.parent', ctx.parent);
console.log('ctx.parent.innerHeight', ctx.parent.innerHeight);
ctx.frame.style.height = `${ctx.parent.innerHeight - 38 - 88}px`;
ctx.frame.style.minHeight = `800px`;
// ctx.frame.style.minHeight = `800px`;
ctx.frame.style.width = '100%';
// @ts-ignore 忽略 console
console.log(`${props.name} 连接成功`, ctx);

View File

@@ -20,6 +20,7 @@ const props = withDefaults(
payload?: Record<string, any>;
projectId: number;
route: RouteRecordRaw;
router: Router;
sync: boolean;
url: string;
}>(),