布局修改 部分bug修复
This commit is contained in:
@@ -118,7 +118,7 @@ const canvasManagerLoaded = ref(false); // 画布是否加载完成
|
||||
// 红绿图模式状态
|
||||
const isRedGreenMode = ref(false);
|
||||
|
||||
const isShowLayerPanel = ref(true); // 是否显示图层面板
|
||||
const isShowLayerPanel = ref(false); // 是否显示图层面板
|
||||
|
||||
provide("isShowLayerPanel", isShowLayerPanel); // 提供红绿图模式状态给子组件
|
||||
|
||||
@@ -255,6 +255,7 @@ onMounted(async () => {
|
||||
layerManager,
|
||||
activeTool, // 响应式引用,存储当前选中的工具
|
||||
brushSize: brushSize.value, // 可选,初始画笔大小
|
||||
t, // 国际化函数
|
||||
});
|
||||
|
||||
// 初始化文本编辑功能
|
||||
@@ -1127,7 +1128,7 @@ defineExpose({
|
||||
flex-direction: column;
|
||||
/* height: 100vh; */
|
||||
background-color: #ffffff;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
font-family: pingfang_medium, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
Reference in New Issue
Block a user