解决图层选中状态消失问题
This commit is contained in:
@@ -822,8 +822,8 @@ export class CanvasManager {
|
||||
|
||||
try {
|
||||
// 如果当前有选中对象,先清除选中状态 否则导出有问题
|
||||
this.canvas.discardActiveObject(); // 清除选中状态
|
||||
this.canvas.renderAll(); // 重新渲染画布
|
||||
// this.canvas.discardActiveObject(); // 清除选中状态
|
||||
// this.canvas.renderAll(); // 重新渲染画布
|
||||
// 自动设置红绿图模式相关参数
|
||||
const enhancedOptions = {
|
||||
...options,
|
||||
|
||||
Reference in New Issue
Block a user