Skip to content

Commit

Permalink
fix(canvas): resolve outstanding issue of canvas meta app (#604)
Browse files Browse the repository at this point in the history
* feat: canvas 元应用改造2 (抽取CanvasLayout,面包屑导航去除元应用,api移动到engine.canvas顶层 )

* fix: 解决code check问题

* fix: 修正引用路径错误

* fix: 解决解决merge过程中文件修改丢失

* fix(canvas): 修复元应用改造2遗留问题
  • Loading branch information
rhlin authored Jun 30, 2024
1 parent 2140e8f commit 4a4e185
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
21 changes: 1 addition & 20 deletions packages/canvas/DesignCanvas/src/DesignCanvas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
></component>
</template>
<template #footer>
<component :is="CanvasBreadcrumb" :data="footData" @click="selectFooterNode"></component>
<component :is="CanvasBreadcrumb" :data="footData"></component>
</template>
</component>
</template>
Expand Down Expand Up @@ -184,22 +184,3 @@ export default {
}
}
</script>
<style lang="less" scoped>
#canvas-wrap {
background: var(--ti-lowcode-canvas-wrap-bg);
flex: 1 1 0;
border: none;
display: flex;
justify-content: center;
position: relative;
.site-canvas {
background: var(--ti-lowcode-breadcrumb-hover-bg);
position: absolute;
overflow: hidden;
margin: 18px 0;
transform-origin: top;
}
}
</style>
19 changes: 19 additions & 0 deletions packages/canvas/layout/src/CanvasLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,22 @@ const siteCanvasStyle = computed(() => {
}
})
</script>

<style lang="less" scoped>
#canvas-wrap {
background: var(--ti-lowcode-canvas-wrap-bg);
flex: 1 1 0;
border: none;
display: flex;
justify-content: center;
position: relative;
.site-canvas {
background: var(--ti-lowcode-breadcrumb-hover-bg);
position: absolute;
overflow: hidden;
margin: 18px 0;
transform-origin: top;
}
}
</style>

0 comments on commit 4a4e185

Please sign in to comment.