画布开发合并:选择状态消失,填充背景实时更新,图层层级关系,新增画布名字递增

This commit is contained in:
李志鹏
2025-11-07 16:52:42 +08:00
parent 2899f4d6fe
commit a10f07a772
13 changed files with 850 additions and 107 deletions

View File

@@ -822,8 +822,8 @@ export class CanvasManager {
try {
// 如果当前有选中对象,先清除选中状态 否则导出有问题
this.canvas.discardActiveObject(); // 清除选中状态
this.canvas.renderAll(); // 重新渲染画布
// this.canvas.discardActiveObject(); // 清除选中状态
// this.canvas.renderAll(); // 重新渲染画布
// 自动设置红绿图模式相关参数
const enhancedOptions = {
...options,